Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Init method from each control from a composite.
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00590500
Message ID:
00590520
Views:
29
>Hi!
>
>The most simple thing comed to mind is to load all of them into the class browser, than using source code generated search for "E Init" or for ".Init" to find all Init code and collect it together just by copy/paste. You can also try to automate it.

I decided to do it directly from classlib. I did:
select methods, padr(objname,40) as Obj from btcrit.vcx where lower(left(parent,3))='cnt' and "Init" $ methods
Then scanned the result and printed... Most of the controls have only Init method, few have others, but it's ok.

>
>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform