MinimizeBox question (FormLib)

N1c0_ds

Active Member
Licensed User
In my application the main form has 4 tabs. Each of them is a different form since I need can't use panels (each of them use drawn items). There is no need for the Ok button as it is already covered by a "back" button in the form.

I still don't fully understand how the minimizebox function works as it minimizes on the main form but still acts as a Ok button on the other forms. Is there a way to use the minimize button successfully on all 4 main forms?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
There is only one main form in an application and it is the first form that you show.
When a user "closes" a non-main form, the form becomes hidden and the previously shown form becomes visible.
If you want you can use the form close event to minimize your application with Hardware.ShowTodayScreen when the user closes a non-main form.
 
Top