Set parent

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Set parent

Post by USCode »

A SetGadgetParent function of somekind would be handy to allow for moving gadgets from one window or container gadget to another.

I'd like to introduce some new GUI elements in a external library then utilize those elements in an existing window of the main application.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Set parent

Post by PB »

Is cross-platform important? If not, just use SetParent_() for Windows.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Re: Set parent

Post by USCode »

PB wrote:Is cross-platform important? If not, just use SetParent_() for Windows.
Thanks for the suggestion but yes, cross-platform is very important.
I believe this kind of functionality exists in all 3 of PB's supported platforms GUI toolkit API's.
Post Reply