Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid. How can I set the focus to a particular column?
Message
From
15/03/1999 12:33:19
Monte Murdock
Universal American Mortgage Company
Clearwater, Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00197665
Message ID:
00197675
Views:
16
>>>I tried grid.activatecell(grid.activerow, 4) and it didn't work.
>>>?
>>>
>>>Gracias.
>>
>>Try.
>>Grid.Column1.Setfocus()
>Ok, I tried this. Did not work. SO I put grid.column4.text1.setfocus() and now it tells me that this is not allowed in a valid method.
>I want to achieve the following:
>In column1, I have a textbox. When user enter a value, I want to jump to column 3 and if it is another value, in column 4.
>Any clue?
>
>Thanks.

You could trap the ENTER in the keypress method of the column1 textbox then use the Grid.Column3.SetFocus() or Grid.Column4.SetFocus() depending on the user's input into column1.textbox.
Previous
Reply
Map
View

Click here to load this message in the networking platform