Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Init method from each control from a composite.
Message
From
06/12/2001 10:04:05
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00590500
Message ID:
00590525
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I have few container controls in my classlib, which contain multiple controls. I'd like to print Init method of each control. Preferably, all at one page with the name of control. In design time. What would be the simplest way to achive such functionality?
>
>I have lots of other classes in my classlib, but I'd like to print Inits for controls only for several container classes (for each control in this container), which start with cnt.
>
>Thanks a lot in advance.

Nadya --

Here is a simple approach... from a little experimenting:
* Select the objects desired on the form
CREATE TABLE ControlInits (cControl c(40), mInit M)
=ASELOBJ (aSelObjs)
FOR X = 1 TO ALEN (aSelObjs)
   INSERT INTO ControlInits (cControl, mInit) ;
       VALUES (aSelObjs[X].Name, aSelObjs[X].ReadMethod)
ENDFOR
Then you can create a report from that data.

HTH,

Jay
Previous
Reply
Map
View

Click here to load this message in the networking platform