IoSonoPiero Active Member Licensed User Longtime User Aug 8, 2009 #1 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?
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?
E eww245 Member Licensed User Aug 8, 2009 #2 ghale said: 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? Click to expand... This can be done with the door library. It can also be set. Code: obj.New1(false) obj.FromControl("Form1") If (obj.GetProperty("Visible")) then obj.SetProperty("Visible",false)
ghale said: 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? Click to expand... This can be done with the door library. It can also be set. Code: obj.New1(false) obj.FromControl("Form1") If (obj.GetProperty("Visible")) then obj.SetProperty("Visible",false)
IoSonoPiero Active Member Licensed User Longtime User Aug 8, 2009 #3 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!
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!
Erel B4X founder Staff member Licensed User Longtime User Aug 8, 2009 #4 I think that a readonly Visible property is an important feature and it will be added. Setting is done with Form.Show or Form.Hide. Note that it is not recommended to bypass these methods with the door library.
I think that a readonly Visible property is an important feature and it will be added. Setting is done with Form.Show or Form.Hide. Note that it is not recommended to bypass these methods with the door library.