[Gambas-user] Delete button ?

dirk yodi at gmx.net
Tue Jan 3 13:48:09 CET 2023




I create a button like this in the form 'lager':

' Gambas class file
' lager.class
'
Public Sub Form_Open()

  With ButtonSave = New Button(FMain.Panel1) As "ButtonP"
       .H = 28
       .W = 28
       .X = 959 - 35
       .Y = 5
       .Expand = False
       .Picture = Picture["icon:/32/print"]

     End With
End

If I make another form visible in workspace1, the button should disappear.

the button should only be visible if the form is 'lager' visible.


--
Dirk


More information about the User mailing list