BPak Active Member Licensed User Longtime User May 5, 2007 #1 I used the Designer to create a prog with 2 Forms. Running the app shows the Forms to be of the same size. When I open Designer and Add a Menu to Form1 and then run the app I find the Form1 Size is different. Why does a Menu in a Form make the Form display bigger? How can I keep the Forms the same Size? Code: Sub Globals End Sub Sub App_Start Form1.Show End Sub Sub Button1_Click Form2.Show End Sub Sub Button2_Click Form2.Close End Sub Attachments test1.sbp test1.sbp 646 bytes · Views: 607 Last edited: May 6, 2007
I used the Designer to create a prog with 2 Forms. Running the app shows the Forms to be of the same size. When I open Designer and Add a Menu to Form1 and then run the app I find the Form1 Size is different. Why does a Menu in a Form make the Form display bigger? How can I keep the Forms the same Size? Code: Sub Globals End Sub Sub App_Start Form1.Show End Sub Sub Button1_Click Form2.Show End Sub Sub Button2_Click Form2.Close End Sub
Erel B4X founder Staff member Licensed User Longtime User May 6, 2007 #2 When you add a menu the form's size increases (on the desktop). This is done to keep the size of the controls space equal to the device. You will need to add menus to all your forms if you want to keep them the same size.
When you add a menu the form's size increases (on the desktop). This is done to keep the size of the controls space equal to the device. You will need to add menus to all your forms if you want to keep them the same size.
BPak Active Member Licensed User Longtime User May 6, 2007 #3 Ok - The Forms with or without Menus are same size when compiled to EXE and installed on PDAs! When it is compiled as an EXE for Desktop and sent out to be run on the Desktop for Clients who dont have PDA will it still have different Size Forms if only one of the forms has a Menu. That alright, just have to explain the reason. Thanks for the Prompt answer.
Ok - The Forms with or without Menus are same size when compiled to EXE and installed on PDAs! When it is compiled as an EXE for Desktop and sent out to be run on the Desktop for Clients who dont have PDA will it still have different Size Forms if only one of the forms has a Menu. That alright, just have to explain the reason. Thanks for the Prompt answer.