Ron,
I guess, it's a little bit inclear, what do you want to accomplish. If you drop another class on your form, which is not your class, I guess, in your button click code you can access properties of this class, but you can not directly change the code in a class itself.
If my understanding is correct and Find Record is modal dialog, you can refresh your form only after this dialog is closed, e.g. in button click: thisform.refresh()
If you can change this class directly, you can put code of refreshing form in the class directly (say, in FindRecord method - last line):
if type("this.parent")="O" and upper(this.parent.baseclass)="FORM"
this.parent.refresh()
endif
>Hello to the list..
>
>I just had my first experience with a class and have a question.
>
>I created a form from the find dialog class and put it behind a find button on my form. It works fine finding the record, but the form doesn't refresh until I close the find dialog. 2 quesitons...
>
>1-Is droping a class on a form really that easy, and
>2-where or how do I refresh the parent form so I can use the find again of the dialog.
>
>Thanks in advance.
If it's not broken, fix it until it is.
My Blog