Mike Lewis
Programmer
I'm writing a little Property Inspector form. Basically, it displays the property values for a specified object at run time. I am using AMEMBERS() to get a list of the properties, and GETPEM() to find their values.
It all works very nicely, except for one irritation: AMEMBERS() returns the property names in capitals. I would prefer to show them in the same case as in VFP's property window. For example, BackColor rather than BACKCOLOR.
Does anyone know of any way of programmatically retrieving property names in mixed case? I wondered about using ALANGUAGE(), but that works with commands, functions and base objects, not properties.
It's not a show-stopper, but if I could avoid showing all caps in my Property Inspector, I would like to do so.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)