From: Devin S. <dev...@gm...> - 2024-07-04 00:45:51
|
Looking through the archives I found someone else that had a similar "issue" back in 2002. Turns out that I needed to pass SPLITTER_REVERSED as an option to the splitter during construction. Thanks for all the help. Happy 4th! On Wed, Jul 3, 2024 at 3:32 PM Roland Hughes <ro...@lo...> wrote: > > Hello Devin, > > I don't have a FOX Toolkit example for you and I haven't coded much in > this API for a while. It's the start of a long holiday weekend here in > America so odds are low many will look at your request until Tuesday. > > Having said that, the description of your problem sounds more > architectural than syntax. Believing that I'm pointing you towards code > have using CopperSpice which architecturally is what you have to do. > > Look at this source file and follow the m_splitter variable. > > https://sourceforge.net/p/reddiamond/code/ci/master/tree/src/edteditwidget.cpp > > CopperSpice has a QSplitter class and FOX has an FXSplitter. Syntax will > be different, but the flow should not be. If it turns out I'm talking > out my arse I sincerely apologize. > > Note how I create the splitter in the constructor and add the primary > edit widget to it. The splitter gets added to a layout along with other > widgets and the layout is basically assigned to the parent widget. > > Down around line 354 you will note that I add the widget which will > appear in the "split" to the existing splitter widget after defining the > direction of the split. > > In the GUI world, everything I've ever worked with operates in this > manner. You don't "split a window", you stick a splitter inside a widget > and add things to it. > > In the MS DOS, RS-232 terminal days of Unix/Linux/VMS/etc. yes, we > "split a window." We did not have graphical cards with memories. We had > a token few ASCII commands that could be sent to the terminal and then > you hoped the terminal did that. > > > -- > Roland Hughes, President > Logikal Solutions > (630)-205-1593 > > http://www.theminimumyouneedtoknow.com > http://www.infiniteexposure.net > http://www.johnsmith-book.com > http://www.logikalblog.com > http://www.interestingauthors.com/blog > > > -- > This email has been checked for viruses by Avast antivirus software. > www.avast.com |