Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbclick in grid is not working
Message
 
 
À
19/01/2000 03:46:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00319588
Message ID:
00319858
Vues:
16
Jan,

>for your reply,
>
>I create a object in my class gridtextbox2
>I placed a wait window in de dbclick() methode en Valid() methode
>
>I used the removeobject methode to remove the standard text1.
>I used addobject en (tried newobject)to add to gridtextbox2.
>
>If i click the textbox i seems that the valid methode and dbclick are not
>working.
>
>What is gone wrong do i something wrong
>
>Kind regards
>
>
What's the name of this new object? Make it for simplicity Text1 and don't forget to put Text1.visible=.t. after adding your object.
Did you test your class alone?



>>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
>>>
>>
>> The solution, which just came up into my head (not an easy one, though) is remove text1 and substitute with your class with DblClick code on the fly...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform