R RichardW Member Licensed User Longtime User Nov 28, 2008 #1 This is a simple demo pgm on using a panel as a splitter control. I got the idea from a tip which used a panel as a movable window. It has 3 examples: vertical, horizontal and finally an explorer demo. The latter uses the listview.dll from Filippo (you can use a table too). The zip has compiles for PC and PPC as well as source. Instruction are in the pgm. Attachments splitter.zip 58.6 KB · Views: 497
This is a simple demo pgm on using a panel as a splitter control. I got the idea from a tip which used a panel as a movable window. It has 3 examples: vertical, horizontal and finally an explorer demo. The latter uses the listview.dll from Filippo (you can use a table too). The zip has compiles for PC and PPC as well as source. Instruction are in the pgm.
N N1c0_ds Active Member Licensed User Nov 30, 2008 #2 I was about to post a similar tutorial. You can use FormLib to change a panel's parent to another panel. You can then use a scrollbar control to scroll the panel up and down in the other panel: Scrollbar.Value=Childpanel.height-parentpanel.height Sub Scrollbar_Valuechanged ChildPanel.top=-Scrollbar.value End Sub It's a great way to display more information onscreen
I was about to post a similar tutorial. You can use FormLib to change a panel's parent to another panel. You can then use a scrollbar control to scroll the panel up and down in the other panel: Scrollbar.Value=Childpanel.height-parentpanel.height Sub Scrollbar_Valuechanged ChildPanel.top=-Scrollbar.value End Sub It's a great way to display more information onscreen