General information
Category:
Coding, syntax & commands
>>>>>>>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only