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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement