Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiselect Grid help with the cursor in a textbox
Message
De
29/01/2007 11:51:00
 
 
À
29/01/2007 11:01:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
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:
01190138
Vues:
14
>>>>>>>>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
>>>>>>>
>>>>>>>*gotfocus
>>>>>>>nodefault
>>>>>>>
>>>>>>>Cetin
>>>>>>
>>>>>>Is there a way to prevent the cell from showing a white highlight around the edges when the cell is clicked in when I am using dynamicbackcolor?
>>>>>>
>>>>>>Jason
>>>>>
>>>>>Probably you're using with a margin.
>>>>>Cetin
>>>>
>>>>Margin = 0
>>>
>>>I don't know then. I don't see that white line.
>>>Cetin
>>
>>Cetin, take a look at the "Display controls in a grid" sample from the solutions project in the controls - grid section. If you click on several different records in the product column you will in this case see a blue border around the specific textbox you have clicked in. Mine is showing as white as the textbox I am clicking in has a coloured background due to dynamicbackcolor. I do not want the hightlight on the textbox.
>>
>>Jason
>
>I might check when I have time. Did you try highlight = .f.?
>Cetin

Highlight is set to .F.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform