Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DblClick in grid not working
Message
De
28/06/2000 03:59:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00384520
Message ID:
00385569
Vues:
18
Hi Mark and Barbara,

Thanks for your input. With a little more leg work I tracked the problem to a .setall('enabled',.f.,'textbox') in the init of the form. Removing this line made everything work OK.

Once again thanks to you both

Regards
Doug Johnston

>Not sure about the disabled problem, but your double-click code needs to go in the DblClick method of the texbox [or other control] in EACH column of the grid.
>
>Actually what I do is put ThisForm.cmdSelect.Click() in the DblClick methods of the the textboxes in the grid. Then in my Select command button click method, I put the DO FORM and other needed code.
>
>You could also put This.Parent.Parent.DblClick() in the controls, and put your code in the grid's DblClick method.
>
>>Hi,
>>
>>I have a grid with 3 columns using a local view as the control source. I want a dblClick event to launch another form but for some reason it just won't work. Whenever the cursor is placed in a cell on the grid it seems to become disabled. I've checked all the logical things (enabled, read only etc) but still no go.
>>
>>I hope someone can Help
>>
>>Regards
>>Doug Johnston
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform