Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiselect Grid help with the cursor in a textbox
Message
From
26/01/2007 12:12:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01189689
Message ID:
01189704
Views:
19
>>I have a grid that I have implemented a multi-selection capability with. The issue I have is that I have text boxes in the grid and when clicked on I get the cursor displaying in the textbox as well as the highlighting around the edges of the textbox.
>>
>>I am using the gotfocus of the textbox to update the back and forecolor of the textbox. I use the mousedown of the textbox to call the method to highlight the row(s).
>>
>>I would appreciate some help in preventing the textboxes from having the cursor.
>>
>>Jason
>
>SET CURSOR OFF in GotFocus and back ON in LostFocus.
>
>BTW, I was having the same problem as you, and I have a class here based on Cetin Basoz Multiselect grid control, which is container based. Container with MultiSelectGrid File #9703

Did you do anything about the user being able to select text from the text box? I only want to display information in the textbox. Not allow the user the select text from it. But I need to have the code to do the row highlight run.

Jason
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform