Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedures
Message
De
14/04/1998 14:03:23
 
 
À
14/04/1998 13:39:36
Mark Kessler
U.S.M.C. - Network Operation Center
Quantico, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00091628
Message ID:
00091850
Vues:
25
>Ok, well I really can't show you the real thing, but I can create a sample one.
>
>I increase the pagecount by one... this creates a new page while the program is running.
>
>Then I add any textboxes or user related items that are need by using the addobject function.
>
>The next thing I wish to do would be enter data into the page#.click method. Keeping in mind that the program is still running. The problem that I have run into so far is that the object.click is read only while the program is running.
>
>So then how would I be able to have something dynamically write to it?

The trick to all of this is to create a custom Page class with the code defined with PROCEDURE Click and then instantiate this Page class as the new page. I have never attempted to subclass Pages before and am experimenting with it. As soon as I have something, I'll post the complete answer.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform