General information
Category:
Coding, syntax & commands
A toolbar next receives focus. To reference the second form you will need to call the complete reference to it. This may be something like
_screen.activeform.PatricksMethod
The easiest way I find of resolving tricky references is to put a SET STEP ON in the code and find the object. In the example above you will need to insert in the formset also.
>I have a formset that includes a toolbar. From the form of that set I call a second form, also controlled by the toolbar. I want to select text in a field on the second form when I click next from the toolbar of the formset. The procedure for selecting the text is in an method which is part of the second form. Because the toolbar has focus when the button is clicked, I cannot seem to get it to recognize the method on the second form. Is there a way to do this? Any help would be greatly appreciated.
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