Forum Post: RE: Getting the extent of a dynamic property.

Status
Not open for further replies.
K

Ken McIntosh

Guest
Hi Ross, This would be a nice feature, but I don't know whether it's expected to work or not. What I can tell you is that the following works: DEFINE VARIABLE oFoo AS foo NO-UNDO. DEFINE VARIABLE cBar AS CHARACTER NO-UNDO EXTENT. oFoo = NEW foo(). cBar = DYNAMIC-PROPERTY(oFoo,"cPropBar"). MESSAGE EXTENT(cBar) VIEW-AS ALERT-BOX INFO BUTTONS OK. You can fetch the property into an indeterminate array and this automatically fixes the extents to match the property. Regards, Ken Mc

Continue reading...
 
Status
Not open for further replies.
Top