Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active Control object's ref. in grid
Message
De
11/05/2005 10:41:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01012835
Message ID:
01012867
Vues:
29
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all
>
>I have the following command in the Init of the form class
>
>ON KEY LABEL F12 _SCREEN.ACTIVEFORM.OpenFlexiTableForm()
>
>all in all I have the thing working well
>
>In OpenFlexiTableForm() I put in a wait window like follows:
>WAIT WINDOW _SCREEN.ACTIVEFORM.ACTIVECONTROL.Name
>
>I got the name of the text box okay, but when fired from the grid containing the text box I got only the grid's as name as the active control.
>
>Please advise.

Bhabhuti,
It's normal behavior. Check baseclass, if it's grid then you can get row using recno(.Recordsource) or .RelativeRow, column from .ActiveColumn, RelativeColumn, varread()...
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