Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to add a FOR loop to update a grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00255835
Message ID:
00255998
Vues:
23
>>
>>You can't add code to a method at runtime. You'll have to wither manually add this code to each textbox in the grid, or create a textbox class that has this code in it, and loop through the columns at runtime, adding this subclassed textbox and removing the stock textbox.
>
>How about the .setall ?
>
>You can change back color and other things with it. It compiles and does not error in the init for the grid. It just does not work when the dblclick takes place.
>
>ceffect1= "ThisForm.pgfBizObj.ActivePage = ThisForm.nGoToPageOnEdit"
>this.SetAll("dblclick", ceffect1 , "text")
>
>
>Thanks.

My guess is that it may stick the text in but the code that runs in a form is precompiled and loaded in the Objcode field of the scx. I believe this compiled code is what executes.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform