General information
Category:
Forms & Form designer
>I need to apply changes to a grid in a parent form from a button in achild form. I've been trying this command:
>
>ThisForm.parent.Transgrid1.Columns[30].setfocus()
>
>but I get error messages; how am I supposed to issue the right command?
>
>Thanks in advance,
>
>Gil
If you 've created a formset and your parent form is FORM1 and child form is FORM2, use this syntax:
THISFORMSET.FORM1.Transgrid1.Columns[30].setfocus().
PARENT is used when your object is in a container.
Pierre.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only