General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › .Selection.Find.Execute
-
jrob61 February 26, 2016 at 8:13 pm
.Selection.Find.Execute
February 26, 2016 at 8:13 pmParticipants 0Replies 1Last Activity 6 years, 4 months agousing XMAX 10.0 control within a vb.net form and wondering if I'm using the correct method for a Replace?
for example, during a Find the following returns True if phrase is found or False if phrase is not found: .AxXMetaLControlDraftingEditor.Selection.Find.Execute(with XMetaLControlLib.SQFindReplaceAction.sqFind).
However, when i use XMetaLControlLib.SQFindReplaceAction.sqReplaceFind to mimic the Replace button, it always returns True, regardless if the search word exists or not.Ideally, we are trying to mimic XMetaL Author Essential 5.5's Find and Replace buttons (Find, Replace, and Replace All).
-
AuthorPosts
- You must be logged in to reply to this topic.