General XMetaL Discussion
jrob61 February 26, 2016 at 8:13 pm
.Selection.Find.ExecuteFebruary 26, 2016 at 8:13 pmParticipants 0Replies 1Last Activity 6 years, 9 months ago
using 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).
- You must be logged in to reply to this topic.