How Enable Form Minimize Button?

mjcoon

Well-Known Member
Licensed User
As it happens I just added it to my latest program an hour ago...

Using a Formlib.dll object, put the following line in App_Start:

B4X:
   Formlib.MinimizeBox = True            ' Formlib adds minimizebox in window

Mike.
 

linum

Active Member
Licensed User
You can use the FormLib to do what you want.


From the FormLib manual:

B4X:
Sub App_Start
      Form1.show
      flb.New1("Form1",B4PObject(1))
      flb.MinimizeBox = True
End Sub
 

sitajony

Active Member
Licensed User
You can also use Door.dll library with the MinimzeBox propriete...
Note: On desktop version it's not possible to show the minimze box, you've to use FormEx.dll library...
 

ashrafidkaidek

Member
Licensed User
Longtime User
Door library and minimizebox

sitajony, can you please post an example on how to show/hide the minimizebox using the door library
Thank you
 

sitajony

Active Member
Licensed User
Yes:
B4X:
'obj: Object object from Door.dll
'Form1: Form control.
obj.New1(False)
obj.FromControl("Form1")
obj.SetProperty("MinimizeBox",true) 'Show the minimize box
obj.SetProperty("MinimizeBox",false) 'Hide the minimize box
 
Top