Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveRow property in a Grid
Message
De
24/07/1998 12:12:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00121025
Message ID:
00121029
Vues:
22
>I am struggling with a grid and trying to understand the ActiveRow and RelativeRow properties. I think I know what their value should be, but I want to verify with a WATCH variable in debugger. If I put:
>
> ThisForm.pgfTest.Page1.grdTest.ActiveRow
>
>in as a WATCH varaible, it always displays zero? If I add a WATCH variable for a textbox from the same form and tab using:
>
> ThisForm.pgsTest.Page1.txtText.Text
>
>I can see it's value. So I don't think I am referencing the property wrong.
>
>So if I mouse down in the grid, shouldn't the ActiveRow property be updated in the WATCH variable?
>
>Any help would be greatly appreciated.
>
>Kind Regards,
>
>Mat Kennedy
Activerow unfortunately works when grid has focus. To watch it you can put this in afterrowcolchange :
wait window nowait str(this.activerow)+chr(13)+str(this.activecolumn)
Or make the debugger visible when grid has focus.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform