Property Grid?

BlitzMax Forums/BlitzMax Programming/Property Grid?

Gabriel(Posted 2006) [#1]
You know what's good for a level editor application? A property grid! Now I'm pretty sure ( bad eyesight permitting ) that MaxGUI doesn't have one, but I'm wondering whether anyone has coded one into MaxGUI. I've never really looked at the source of MaxGUI so I have no idea how easy or hard that would be. But if anyone has one in MaxGUI they'd be prepared to share ( for free, or for a charge ) then I'd be very interested.

And yes, I know they're not strictly necessary. I know that a bunch of gadgets on a tab works ok, but I really think a property grid is much nicer if possible.


grable(Posted 2006) [#2]
I made one for my own gui editor, its a bit ugly but it does the job. here you go =)

Note!.. the key handling doesnt work properly :/

proplist.bmx


It uses this to set the border on some of the gadgets WIN32 only (just comment out any SetGadgetBorder function calls if you dont want it)
GadgetBorder.bmx


And here is the test source:
test.bmx


EDIT: oh,, and heres the icon file for the test ;)


Gabriel(Posted 2006) [#3]
That's really neat, Grable. Thanks for sharing it!