Visible property in Form object

IoSonoPiero

Active Member
Licensed User
Longtime User
I think that a Visible(I/O) property for Form object, can be a better alternative to the Visible property of a control on the form, when I need to check if the form is active or not.

Can this be implemented in a future release of Basic4PPC?
 

eww245

Member
Licensed User
I think that a Visible(I/O) property for Form object, can be a better alternative to the Visible property of a control on the form, when I need to check if the form is active or not.

Can this be implemented in a future release of Basic4PPC?


This can be done with the door library. It can also be set.

B4X:
obj.New1(false)
obj.FromControl("Form1")
  If (obj.GetProperty("Visible")) then obj.SetProperty("Visible",false)
 

IoSonoPiero

Active Member
Licensed User
Longtime User
Ok, this is a good way to accomplish this, sure.

But in this way I have to add a library (door.dll) to the project.

And for a beginners (like me) this can't be the easy way to learn using Basic4PPC.

This is my think, however your suggest is a good one.

Thanks!
 
Top