I am not sure if I am completely understanding your goal. However, I will
make a suggestion.

You may want to look into using the MenuFunction object to launch your
class.  Search the AOT (using find) for "menuFunctionActionStr" as text in
method and you will see some examples for launching an action menu item in
the code.  The class name is a parameter.  Your class needs to have a main
method that creates an instance of itself and calls the prompt method to
display the dialog (But you probably did that already if you created a Menu
Item to call the class).  Do not use a Menu Item Button on your
form.  Rather just use a "Button" and override the clicked method to compose
your MenuFunction call.


On 4/17/09, benoit.billington <[email protected]> wrote:
>
>
>
> I have a form with a ClassName field which can be filled by classes that
> implements a certain interface.
>
> On that same form I have a button that will open the dialog from the
> selected class
>
> Since this is dynamic I dunno how I could launch the specific Dialog.
>
> Maybe by overridding a method from the menuItemButton...
>
> 
>


[Non-text portions of this message have been removed]

Reply via email to