The Property Editor can now set values as well as display them. The
following attributes are read-only:
'name', 'alignment', 'layout', 'style', 'border', 'font'
Those attributes are either settable only at initialization or in the case
of 'font' aren't supported yet. You must click the Update button in order
for a change to take place.
I'm not happy with either the layout of the Property Editor (PE) or the code
for doing the display and updates, so the PE will be rewritten, but not for
a while. It is easier to use than typing all the gets/sets into the shell.
If someone wants the revised PE as their own project I'll be happy to let
them have it. A variation of the run-time property editor could be used in
the GUI resource editor I started a few weeks ago, but never checked into
cvs. I'm going to look at that next.
Go ahead and play and let me know what breaks, which reminds me that there
is no validation before an Update, so Garbage In Garbage Out.
ka
|