Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bindevent and dblclick
Message
From
04/08/2008 16:45:31
 
 
To
04/08/2008 16:34:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01336230
Message ID:
01336359
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
>>Hi,
>>
>>Can anyone give me an idea on why the following bindevent on the dblclick doesnt work?
>>
>>FOR lnCol = 1 TO ThisForm.Grid1.ColumnCount
>> loColumn = ThisForm.Grid1.Columns[ lnCol ]
>> FOR EACH loControl IN loColumn.Controls
>> IF PEMSTATUS( loControl, [dblClick], 5 )
>> BINDEVENT( loControl, 'dblClick', thisform, 'GridClicked') *** this doesnt work
>> ENDIF
>> *IF PEMSTATUS( loControl, [Click], 5 )
>> * BINDEVENT( loControl, 'Click', thisform, 'GridClicked') *** this works just fine
>> *ENDIF
>> ENDFOR
>>ENDFOR
>>
>>Looking for a little inspiration.
>>
>>Thanks
>>
>>Jon
>
>try to put a comment line into the loControl's dblClick procedure.

Thank you Fabio, this is what I was thinking about in my message#1335740. I knew there were some cases where a method or event needed to have something in it, even a space character would be enough, in order to get things to work properly.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform