Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement