Re: Splitting a frame on command?
Roland Hughes via Foxgui-users <[email protected]> Wed, 3 Jul 2024 17:32:18 -0500
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Organization | Logikal Solutions |
| Message-ID | <[email protected]> |
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 _______________________________________________ Foxgui-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/foxgui-users