Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DoubleClick on Grid
Message
De
10/06/2008 02:04:20
 
 
À
09/06/2008 20:44:53
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01322710
Message ID:
01322744
Vues:
9
>Dear all,
>
>In VFP 6, I can doubleclick on a grid row to have further action. However, I fail to do that at VFP 9. Have I forgetton something to set?
>
>Grid.Colum.Text.DoubleClick()
>Grid.enable=.t.
>Grid.readonly=.t.
Hi,

Still the same in VFP9.
("DoubleClick" instead of "DblClick" is only a typo, right?)

On the other hand, there are several possibilities to prevent code in gridX.ColumnY.Text1.DblClick(), for instance
when there are no records in grid.RecordSource (because of a filter or missing Requery() or so)
or when grid.AllowCellSelection=.F.
or when "Text1" is not the column's CurrentControl
or when you have code only in one of many columns' textbox.DblClick()
or when your code causes "grid reconstruction" by recreating the grid.RecordSource alias at runtime
and so on.



hth
-Stefan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform