Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to keep user from selecting columns in grid?
Message
From
14/07/2000 23:10:44
 
 
To
14/07/2000 17:17:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00392348
Message ID:
00392807
Views:
10
>Thanks Ed, but I'm still lost. Help didn't help. I tried to set the When event of the field to .F. but got a message that property is read only. Could you please be more specific on how to do this?
>

Subclass the standard textbox; in your subclass have the When (it's an event) return .F., so that it never will receive focus. Instead of filling the column with the default textbox control, add the subclassed textbox to the column and make that the current control for the column.
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