I have installed 5.31 both in 32 & 64 bit flavors on Win7 and Win10 machines.
Nowhere have I been able to deploy a splitter via the form designer.
1) I create two containers side by side in the default window, butting up against each each in the middle.
2) I anchor the left one to the left, top and bottom
3) I anchor the right one to all 4 sides
4) I click on the splitter gadget, the dialog pops up and I specify both containers and click [start drawing]
5) I run - no splitter
6) I check the form code - no splitter
What am I missing?
Thanks
K
Splitter use in form designer
Splitter use in form designer
PB 5.73 on Windows 10 & OS X High Sierra
- Zebuddi123
- Enthusiast

- Posts: 796
- Joined: Wed Feb 01, 2012 3:30 pm
- Location: Nottinghamshire UK
- Contact:
Re: Splitter use in form designer
Hi kpeters58 personally i would use pureform it works!!! Hopefully the form designer will have been updated in the next pb release
https://www.dropbox.com/sh/g6a4j9v95b73 ... bXgfa?dl=0 ; pureform link
Zebuddi.
https://www.dropbox.com/sh/g6a4j9v95b73 ... bXgfa?dl=0 ; pureform link
Zebuddi.
Code: Select all
;
Global Window_0
Global Editor_0, Editor_1, sg
Procedure OpenWindow_0(x = 0, y = 0, width = 560, height = 370)
Window_0 = OpenWindow(#PB_Any, x, y, width, height, "", #PB_Window_SystemMenu)
Editor_0 = EditorGadget(#PB_Any, 0, 0, 0, 0)
Editor_1 = EditorGadget(#PB_Any, 0, 0, 0, 0)
SplitterGadget = SplitterGadget(#PB_Any, 0, 0, width, height, Editor_0, Editor_1,#PB_Splitter_Vertical)
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure
OpenWindow_0()
Repeat
event = WaitWindowEvent()
Until Window_0_Events(event) = #False
Endmalleo, caput, bang. Ego, comprehendunt in tempore