Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable the grid?
Message
From
20/12/2000 17:01:37
 
 
To
20/12/2000 16:47:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00455607
Message ID:
00455632
Views:
27
>>>>>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.
>
>Except they'll get really annoyed with the "Control is read-only" status messages and dings. Of course, that could be fun, too <g>

SET NOTIFY OFF stops those messages.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform