Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Add a Cursor to DataEnvironment programatically?
Message
De
06/02/2004 00:36:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00874222
Message ID:
00874708
Vues:
34
Without playing with the SCX, I'm out of ideas. I was thinking somewhere along the lines of:
Modify Form TestForm NoWait
aselobj(laTestForm,1)
oFormHandle = laTestForm[1]
oFormHandle.DataEnvironment.Objects.Add.....
However it seems the DataEnvironment just isn't available at design time. Can add during Init but that's not what you want. I'll keep scheming though. Just curious why not hack the SCX?

Aloha,

James
>Hmmm maybe, what I want it's to add a cursor programatically at design time, so, the final form should have a cursor added to the DataEnvironment, just like oneself does manually.
>
>>Does it need to be visible during design time?
>
>>>No, it isn't. Any clue?
>>>
>>>>Is the new DataEnvironment class in VFP8 an option?
>>>
>>>>Aloha,
>>>
>>>>James
>>>>I'd like to Add a cursor to a DataEnvironment's form, without hacking the SCX table, is it possible?
>>>>I'm creating a Form, adding controls, writing methods, but i need to add cursor to the dataEnvironment...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform