Xusinboy Bekchanov wrote: ↑Aug 01, 2022 4:44
flaviofornazier wrote: ↑Aug 01, 2022 2:52
I'm still fighting with MDIForm, MDIChild, Window State (Maximized) and getting some crashes on Windows x86/64.
Give us a crash example to fix.
flaviofornazier wrote: ↑Aug 01, 2022 2:52
Is there some another procedure in adittion to set FormStyle in both forms?
No.
flaviofornazier wrote: ↑Aug 01, 2022 2:52
PS: I think users would like to see an interesting SQLite Control from VisualFreeBasic called "SQLiteBox" on VisualFBEditor Toolbox... Is it hard to implement?
I don't think it's difficult.
Mr.Bekchanov,
Reproducing the steps:
- Open New GUI Project
- In design mode set Form1 FormStyle property to fsMDIForm
- Drag MainMenu control to Form1
- Open MenuEditor and add File Menu and Open item.
- In design mode set Form1 Menu property to MainMenu1
- Save all project files with default names to folder C:\MyMDIForm
- Click the Menu Project and Add Form
- Go to Project Explorer and double-click on Form2
- In design mode click on Form2 and set its FormStyle property to fsMDIChild
- At this point Form2 disappears from design mode as you can see in attached image.
- Go to Form1 again and set WindowState property to wsMaximized
- Go to Form1 code window and include Form2 after #End Region
- Click the Menu Open and insert Form2.Show in the open menu item event created by IDE
- Save all and F5... Form1 is shown as wsNormal and if you click the Open menu item nothing happens...
http://www.makesystems.com.br/pub/vfb_f ... _crash.png
http://www.makesystems.com.br/pub/mymdiform.rar
Thank you in advanced.