Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bindevent and dblclick
Message
De
04/08/2008 16:45:31
 
 
À
04/08/2008 16:34:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01336230
Message ID:
01336359
Vues:
13
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform