Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bindevent on specific Grid column
Message
De
16/03/2021 17:19:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
16/03/2021 17:18:03
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678862
Message ID:
01679035
Vues:
49
>Hi Luis,
>
>The simple answer is, that the Column you bound to is not Column13.
>Also, if there is only one Column with that Controlsource Exit the loop:
>
>try
>
>FOR EACH loColumn IN oGrid.Columns 
>  FOR EACH loControl IN loColumn.Controls
>    IF loColumn.text1.controlsource = 'BI.LOBS3'
>       BINDEVENT( loControl, 'DblClick', oManipulador, 'OnDblClick' )
>*show column's name
>?loColumn.NAME
>*end the loop:
>      EXIT
>    ENDIF 
>  ENDFOR
>ENDFOR
>
>
>Once you figured out the right column, you might use this instead of the loop
>Lutz
>
>Hi Lutz,
>
>I don't even know how to thank you for all your help.
>Running the script I send, it returns column13
>
>Thank you so much again ..!!
>
>Best regards,
>Luis

You are welcome.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform