Bug? If you work with 2 or more monitors the button hide

mcGeorge

Member
Licensed User
Longtime User
Hi, I work with 3 monitors. I have a small test application that generate a lot of buttons (800) on a form.
If i move the form on my 2nd monitor the buttons are hide. If I move the form back, the buttons appear again. The best is, look at the video:Video
Tanks.
George
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Make sure that you are using the latest version of Java.

It works properly here. Test with this code:
B4X:
Sub Process_Globals
   Private fx As JFX
   Private MainForm As Form
End Sub

Sub AppStart (Form1 As Form, Args() As String)
   MainForm = Form1
   MainForm.Show
   For x = 1 To 40
     For y = 1 To 20
       Dim b As Button
       b.Initialize("")
       MainForm.RootPane.AddNode(b, (x - 1) * 40, (y - 1) * 30, 40, 30)
       b.Text = x & "," & y
     Next
   Next
End Sub
It shows fine on both monitors.
 
Top