if you are a human please do not click here
Did you miss your
XMetaL Community Forums
General XMetaL Discussion
drag and drop text
Topic: drag and drop text (Read 331 times)
drag and drop text
November 30, 2016, 02:11:13 PM »
using XMAX 10.0.0.080 (32-bit) control within vb.net form.
we are looping thru xml tags to set certain tags as protected from typing. Discovered that this code is running before the drag/drop text is actually available in the editor - thus leaving its text unprotected. The _OnDrop, _On_Document_Before_DropText, and _On_Document_After_DropText already have been triggered before the text appears in the editor. As a work-around we would like to pass around a global Boolean variable after a drag/drop, but having difficulty determining which event to reset this variable in order not to slow down editing having it run unnecessarily.
Question, what is last event (macro) triggered just before the user is allowed to type, and is available with the xmax control? Not having any luck with _OnUpdateUI, _GotFocus, or _OnDrop.
Didn't encounter this issue with XMetaL Author Essential 5.5?
Re: drag and drop text
Reply #1 on:
November 30, 2016, 06:31:14 PM »
XMAX will fire callback methods through the COM event sink, _IXMetaLControlEvents, and also fire the equivalent event macros. Which are you using?
The On_Update_UI event macro (or OnUpdateUI event sink callback) is the last event fired prior to allowing users to interact with the XML via keyboard or mouse.
From you description, it is not clear. You might want to contact Customer Support directly.
Addam Smith, XMetaL Project Lead & Architect
JustSystems Canada Inc.
Please select a destination:
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Hosted by JustSystems Canada, Inc.,
Powered by SMF
© Simple Machines LLC