Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to disable a grid
Message
From
15/05/2003 13:08:21
 
 
To
15/05/2003 11:10:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00788677
Message ID:
00788848
Views:
38
>>>When user changes textbox in form, the textbox class performs a refresh of a navigation grid. In the refresh method of that grid I set this.enabled = .F., but the grid doesn't become disabled! Specifically, the user can still click on another row (precisely the kind of behavior I wish to avoid).
>>
>>Not sure exactly what your problem is, but one old technique for grids is to cover/uncover them with a transparent grid-sized Shape - when you don't want users accessing them *at all*. Just an idea if other solutions cannot be found...and not too hard to implement.
>
>Thanks Bruce,
>
>In order to cover/uncover, should I addObject/RemoveObject or just change Height/Width to 1 pixel?
>
>Alex

Actually, I'd just change the Zorder property of the Shape.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform