Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding controls form prg to vcx/scx
Message
 
 
To
21/06/2004 07:31:24
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00915319
Message ID:
00915630
Views:
9
Hi Andrey,

I got it. The question is if using PRG based classes in visual classes is supported or not.

>
>=STRTOFILE(;
>"DEFINE CLASS myClass AS Custom"+CHR(13)+;
>"Tag='ee'"+CHR(13)+;
>"myProperty='ss'"+CHR(13)+;
>"ENDDEFINE","myProg.prg")
>SET PROCEDURE TO myProg
>CREATE CLASS myVcxClass OF myVcxLibrary AS Form NOWAIT
>LOCAL ARRAY laFrm(1)
>=ASELOBJ(laFrm,1)
>laFrm(1).AddObject("myControl","myClass")
>ACTIVATE WINDOW Properties
>** 1. Try to set myProperty="aaaaa" and then Reset to default - myProperty=.f. ?
>** 2. Tag="ee" (Bold - not default) ? Even if Reset myProperty to default and reopen class.
>
>
>>
>>It's not clear what you mean. Can you explain or, even better, provide some code and steps to repro the problem?
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform