Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active Control object's ref. in grid
Message
From
11/05/2005 10:41:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01012835
Message ID:
01012867
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform