Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable the grid?
Message
 
To
20/12/2000 16:33:44
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00455607
Message ID:
00455616
Views:
34
>>>I also want to disable the grid too, but I want the user to have access to move the scroll bar (sideways and up/down). When I disable the whole grid (ThisForm.Grid1.ENABLED = .F.), it freeze the whole thing. Do I have to do field by field (I have 14 ColumnsCount).
>>
>>Can you just make the grid ReadOnly instead of Disabled?
>
>Maybe I am not understanding how to do the 'correctly'? What I want to do is disable ALL fields and grid (to prevent typo accidents by bump a key) and then upon hitting the 'Add'/'Edit' button, then enable the parent or the child (I have two 'Add/Edit/Delete' buttons for each p/c on the same form)... Any other ideas? Again, if you could take my project and look at it, maybe you would have a better idea then (it is about 35KB zipped).
>
>I am going on a 1-1/2 weeks vacation, but I would like to take this home to do just that part (disable/enable).
>
Chuck,

If you make the grid readonly, the user can type to their hearts content and not accidently change the data in any field.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform