Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbclick in grid is not working
Message
De
19/01/2000 10:32:40
 
 
À
18/01/2000 15:13:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00319588
Message ID:
00319891
Vues:
13
>>Hi Jan,
>>
>>>I need a dubbel click in a grid to select
>>>If i use the methode dbclick() nothing is happen.
>>
>>You need to put your DblClick() code in the DblClick() event of the textbox in the grid, not the grid itself.
>
>Thanks for you reply.
>
>I have a problem that there are no columns in that grid at disign time.
>I add them during runtime using the methode addcolumn. I do no know how change standard dbclick from the added column
>

Create a subclass of the textbox class that has the necessary method code in it. Do your AddColumn, and then add an instance of the subclassed textbox class to that column, removing the default textbox placed there from the default AddColumn behavior.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform