Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wizbtns class
Message
 
À
29/12/2000 10:12:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00457739
Message ID:
00457764
Vues:
27
>>I created a form using the wizard which automatically puts the wizbtns in the form, the sequence of cmd buttons "ADD EDIT REVERT DELETE" etc.
>>
>>I need to modify this so that when a person clicks 'ADD', it populates a field with the current recno(). But I can't modify this class. I tried copying the class but I still can't tinker with it. I'd like to know how the 'REVERT' button shows up when the 'ADD" is clicked. Thank you.
>
>Hi Tim,
>Code is in wizstyle.vcx 'txtbtns' class. As far as I remember caption change was done in 'Navrefesh' or 'ButtonRefresh'.
>You don't need to tinker class code to insert a value in a field though. There are several ways with one being putting it to field's default value.
>However in your case I think it's dangerous. There you'd be using buffered tables where using recno() is invtation to headaches.

Cetin, when I go to edit property/method when modifying the class I do see a bold "ButtonRefresh". It just has a description. How does this work?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform