예제 #1
0
        /// <summary>process "dblclick" event</summary>
        /// <param name = "guiMgCtrl">the control </param>
        /// <param name = "line"> the line of the multiline control </param>
        private void processDblClick(GuiMgControl guiMgCtrl, int line)
        {
            MgControlBase mgControl = (MgControlBase)guiMgCtrl;

            if (!mgControl.GetComputedBooleanProperty(PropInterface.PROP_TYPE_ENABLED, true, line))
            {
                return;
            }

            // raising the internal events : MG_ACT_SELECT and MG_ACT_ZOOM was moved to commonHandler under the
            // MG_ACT_WEB_ON_DBLICK case.
            // This is different then the behavior of online because we fixed QCR #990836 only in rich.
            // In rich, 1st dbclick is raised. Then if there is a handler on it with propogate ='YES', only then the zoom/select
            // will be raised. A Propagate 'NO' will block them.

            Manager.EventsManager.addGuiTriggeredEvent(mgControl, InternalInterface.MG_ACT_WEB_ON_DBLICK, line);
        }