Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling Grid Behavior
Message
 
To
27/09/2000 03:19:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00420986
Message ID:
00421492
Views:
21
Right, got it working. Thanks for everyone's help!

>Disable the first two colums.
>==> data will remain visible but cannot be changed.
> The columns can't get focus during input (only with a mouse)
>
>This.Grid?.Column1.Enabled=.F.
>This.Grid?.Column2.Enabled=.F.
>
>In the Lostfocus event of the third column editbox just put the code like
>Ko Wisse suggested.
>
>Marc
>
>
>>Hi, I have a grid set up with 3 columns. I am trying to set it up so that only the last column can be edited. I am running into behaviour that I don't know how to get around. The behaviour I am looking for is if a user has edited the column and then pressed ENTER, the cursor goes to the new row...trying to ease data entry. Also, right now if they have edited something in the last column and press enter, the grid moves over to the right so only the last 2 columns are available along with a bunch of blank space on the right. Is there any way to lock the grid so that it doesn't move?
>>
>>TIA,
>>George
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Previous
Reply
Map
View

Click here to load this message in the networking platform