Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wizbtns class
Message
From
29/12/2000 10:12:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00457739
Message ID:
00457746
Views:
22
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform