ClientWidth help from other OS's

BlitzMax Forums/BlitzMax GUI Programming/ClientWidth help from other OS's

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi Ked,

Sorry, just got your e-mail now - I don't check that account too often...

Had a look at the proxy gadget, and was intrigued looking at the name about what a collapse pane might be, but as soon as I ran the example, I saw and instantly realised it's potential usefulness. :-P

Although it behaves well "as is", if you are serious about wanting to add it to the official MaxGUI.ProxyGadget it perhaps needs those few tweaks first.

Firstly, if you could find a way to perhaps have collapsible panes that don't require a pixmap to be made for each state, and that allow horizontal resizes. I think people would use this a lot more if all they had to do was set the text. Perhaps this can be done by generating a tile pixmap automatically using a function similar to that in my TSplitter.MakeColourHandlePixmap() (see splitter.bmx).

Secondly, vertical scrollbar would definitely improve the functionality and make it much more versatile when panes go off the screen.

Thirdly, it occured to me that a few of the functions (e.g. SetCollapsePaneState() and RemoveCollapsePane()) closely follow the gadget item functions, so perhaps there is a way that it could be tweaked to make use of the functions already there such as AddGadgetItem(), SetGadgetItem(), SelectedGadgetItems() etc. This would make it feel a lot more like a standard MaxGUI control, but I've never attempted making a proxy gadget that behaves like list based gadgets so this might not be feasible.

Still, very nice work - keep me posted here with any updates.