Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allow tab switching, but no data changing
Message
From
13/10/2005 11:38:11
 
 
To
13/10/2005 11:16:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01058713
Message ID:
01058730
Views:
9
John

If I read you right, essentially it's a case of everything is read-only (until edit is clicked), and also maybe enabled = .F. You can set enabled = .T. and still leave the data as readonly.

Terry

>Hi all,
>
>I've got a form that uses a frame (form1.mainframe) with five tabs (form1.mainframe.tab1, etc.). Right now, I only allow access to the frame after the user clicks an Edit button on the form. At that point, they can access the frame, make edits, change tabs, etc.
>
>How could I keep things as they are (preventing access to changing the data), but allow them to switch tabs without having to click the Edit button? I want them to be able to view everything on each tab but not be able to change any of the data on the tabs unless they choose Edit.
>
>Thanks,
>
>John
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform