General XMetaL Discussion

  • sapraaman

    showing find dialog

    Participants 0
    Replies 1
    Last Activity 12 years ago

    Hi,

    Is it possible to show find dialog with preset options (and text to find) using javascript?

    We are using XMetal 5.5.

    Thanks,
    Aman

    Reply

    Derek Read

    Reply to: showing find dialog

    If you call the Find.Execute method you can provide a parameter that will store the other parameters you pass (as if the user had performed the find manually). The boolean is called “boolSetFindDialogOptions” and is documented along with the Execute method.

    However, calling Find.Execute is going to actually perform a find without showing the dialog to the user.

    The alternative to this might be to build your own dialog (probably using XFT) and then run Find.Execute from it. That way you should have complete control over the UI.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support