Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DblClick in grid not working
Message
From
28/06/2000 03:59:05
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00384520
Message ID:
00385569
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform