Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding controls form prg to vcx/scx
Message
 
 
À
21/06/2004 07:31:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00915319
Message ID:
00915630
Vues:
8
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform