At 4:15 AM -0800 11/4/02, Ben Rubinstein wrote: >Is there a clean way to get the type of a control? [...] >...but I can't see anything to return the type. The workaround I've found >is to get first word of the long name - but that seems like a hack.
That's the only way to do it that I know of. The first word of the long name of a control will always report the object type, unless the stack's hcAddressing is true. In that case, you need the second word (the first word is "card" or "background" if the hcAddressing is true). -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution