Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing values in Form
Message
 
À
10/04/1997 17:12:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00027714
Message ID:
00027904
Vues:
38
>>>>>Could I use a test condition in the objects refresh method to check and see if that variable exists and use that to replace that particular value?
>>>>
>>>>Sure, why not, but it can slow down the overall form refresh.
>>>
>>>Would the form REFRESH be a better spot, or is the proper place another method that I'm overlooking?
>>
>>It depends of how many controls you would like to update this way.
>>Thisform.Refresh will update all, do you need it or not. You can possibly add to the form your custom method for refreshing only group of necessary controls (it is easier to see what you are doing to them in one place), or place those controls to the invisible container and refresh the container.
>
>There are 14 controls that would change. I decided to use SCATTER MEMVAR to create the memory variables and then assign those variables to object.value in the form. Good idea about using a user defined method. Thanks for your help Nick.

No thanks, glad to hear it helps! :)

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform