Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>>>>>>>>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.
>
>OK, I don't have that problem and if you can supply reproducing code I might check.
>Cetin
Check out the solutions sample I pointed out and you will see.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement