if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
showing find dialog
Pages:
1
« previous
next »
Print
Author
Topic: showing find dialog (Read 939 times)
sapraaman
Member
Posts: 17
showing find dialog
«
on:
June 22, 2010, 03:32:13 AM »
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
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1552
Re: showing find dialog
«
Reply #1 on:
June 22, 2010, 11:52:34 AM »
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.
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...
email us