B4J Question How to disable the close (x) button on the Main form?

GMan

Well-Known Member
Licensed User
Is it possible to disable this, too ?

With
B4X:
MainForm.Resizable = False
i can disable the Max.-Icon, i wish that the user has to end with the Menue
 

mark35at

Well-Known Member
Licensed User
Using the search funktion in the forum: Link
 

GMan

Well-Known Member
Licensed User
Here without linking:

B4X:
Sub MainForm_CloseRequest (EventData As Event)
   EventData.Consume
End Sub
 

MarkusR

Well-Known Member
Licensed User
its still enabled and visible.
i would make at least a message close the app at file menu.
 

MarkusR

Well-Known Member
Licensed User
and without bar it can't move by default with mouse
 

GMan

Well-Known Member
Licensed User
its still enabled and visible.
i would make at least a message close the app at file menu.
Visible yes, but disabled.
If i remember correct, in the old Borland TurboPascal and In VisualBasicExpress the Min - Max - and X-Icon was not visible if disabled.
 
Top