Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find which control and alias is active ?
Message
From
04/03/2003 04:52:43
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00760269
Message ID:
00760787
Views:
12
I can't send you my form, it won't work because all I use is subclassed (forms, controls, etc.). I have also references to my application object, main toolbar, etc.
A good start can be to open classes and forms from Tastrade samples application and see code, it use the same technique.
About detail lines, you can control where to append records (parent or child table) using ActiveControl property which references the control that has the focus.

Dorin

>Hi Dorin,
>i doing like you... toolbar sending _vfp.activeform.addnew() command to the activeform and form if it has a command related method it executes process. with the non relational situations toolbar works fine. only i wan to do by the relational situations toolbar should use same button (new-delete) and execute for alias (parent or child). Would you like to send me your form and toolbar samples ? probably at the end of i'll add Cmdaddline,Cmddeleteline button to my toolbar. if i cannot solve this problem.
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform