Article | 60000360 |
Type | Wish |
Product | Engine |
Version | 6026 |
Date Added | 12/19/2007 12:00:00 AM |
Fixed | (10/10/2013 12:00:00 AM) |
Submitted by | Peter Chanios |
Summary
Implement a method that will show a Search Text dialog.
Solution
In 6027 version a new dialog was added to the vdDocument that is able to search for texts inside the document and also replace texts found with texts the user gives.
This form searches also and returns results from external references (XRef) that the document might have but no replace is done to them.
The developer can show this dialog using cmdSearchText() method or SearchTextEx(vdDoc) method, like:
myDoc.CommandAction.CmdSearchText();
This functionality is available also in VDF Wrapper document, and the developer can use a code like:
Dim v6doc As VectorDraw_Professional.vdDocument Set v6doc = VDraw.ActiveDocument.WrapperObject mdoc.CommandAction.CmdSearchTextA screenshot of the new form:
