Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiselect Grid help with the cursor in a textbox
Message
 
 
À
26/01/2007 12:12:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01189689
Message ID:
01190471
Vues:
18
>>>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

Check also Border property.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform