General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › showing find dialog
-
sapraaman June 22, 2010 at 9:32 am
showing find dialog
June 22, 2010 at 9:32 amParticipants 0Replies 1Last Activity 12 years, 9 months agoHi,
Is it possible to show find dialog with preset options (and text to find) using javascript?
We are using XMetal 5.5.
Thanks,
AmanDerek Read June 22, 2010 at 5:52 pm
Reply to: showing find dialog
June 22, 2010 at 5:52 pmIf 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.
-
AuthorPosts
- You must be logged in to reply to this topic.