Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Init method from each control from a composite.
Message
De
06/12/2001 10:04:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00590500
Message ID:
00590525
Vues:
29
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform