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 12:50:07
 
 
À
29/01/2007 11:53:29
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:
01190184
Vues:
26
>>>>>>>>>>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
Fil
Voir

Click here to load this message in the networking platform