Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prompting for locked records
Message
From
19/02/1999 16:45:22
 
 
To
19/02/1999 16:25:38
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00189490
Message ID:
00189523
Views:
9
>It doesn't let me edit a record if another user is editing but it doesn't disable the controls. Can you please shed some light on WHEN procedure.

WHEN allows or disallows a control receiving focus (becoming selected) - if the WHEN Event returns .T., the control receives focus, if WHEN returns .F., the control does not receive Focus. WHEN does not affect the visibility of the control, or the enable state of the control.

If you need to alter the visual aspect of the control (change its .visible or .enabled property, for example) before the user can even attempt to select it, you need to make those changes whenever the condition(s) that determines whether or not it should be allowed to gain focus change state.

Ed
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform