public void ActivateContext(UIEventHandler UIDisplayArrayContext_EventTriggered, V[] values, ROW[] rows)
        {
            mainWin.setActiveToolBarKeys(KeyList, onActionList); //, true,true,false);

            foreach (ON_ACTION_EVENT e in onActionList)
            {
                foreach (FGLFoundField ffield in mainWin.FindAction(e.ACTION))
                {
                    ffield.fglField.onActionID  = e.ID;
                    ffield.fglField.onUIEvent   = onActionTriggered;
                    ffield.fglField.Enabled     = true;
                    ffield.fglField.ContextType = FGLContextType.ContextInput;
                }
            }
            constructGrid.ReadOnly = false;
            constructGrid.Enabled  = true;

            constructGrid.Focus();



            setActiveFields();

            this.EventTriggered = UIDisplayArrayContext_EventTriggered;

            if (!_contextIsActive)
            {
                _contextIsActive = true;
            }

            constructGrid.allowInsertRow = false;
            constructGrid.setActiveFocus();

            constructGrid.context = FGLContextType.ContextConstructArray;
        }
예제 #2
0
        public void ActivateContext(UIEventHandler UIMenuContext_EventTriggered, V[] values, ROW[] rows)
        {
            mainWin.setActiveToolBarKeys(keyList, onActionList); //,false);
            ensureKeyAndActionsAreDisabledOrEnabled();


            EventTriggered += new UIEventHandler(UIMenuContext_EventTriggered);
            if (!_contextIsActive)
            {
                _contextIsActive = true;
                mainWin.SetMenuBarButtons(this.menuPanel);
            }
            menuPanel.Enabled = true;
            // WEBGUI menuPanel.BackColor = System.Drawing.Color.White;
        }
 public void NavigateToTab()
 {
     mainWin.setActiveToolBarKeys(KeyList, onActionList); //, true, true, false);
 }
예제 #4
0
 public void NavigateToTab()
 {
     appPanel.setActiveToolBarKeys(null, null);
 }