>so this is my first question :
>I have a form in 3.0 generated with the wizard, I used
>the 'txtbuttons' class, what I need is to add code to
>the click method of one of the buttons and execute
>the original code in the parent class, but it doesn't
>seems to work, what I'm doing is adding this lines
>in the click method of the edit button :
>
>wait 'This is my click..' window nowait
>this::click()
>and it doesn't work
you shoudl substitute the this with the name of the object whose click mehtod you want to call
>also I tried this.parent.click() and reported me that 'this object doesn't inherit from class THIS.'
>what I'm doing wrong ?
this.parent.etc is completely different thing - here you refer to the container that holds the current (this) contro
>My second question is how do I make and object the current object at run time, in the old days I used to
>do something like :
>_CUROBJ=OBJNUM(m.MyVariable)
>but now the CurrentObject property that substitute
>_CUROBJ is read only at run time, what can I do ?
you just call the contol's SETFOCUS method to move the focus to that control
Arnon
Précédent
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