Example #1
0
 private void m_fToolBox_AddControl(
     String controlName, 
     csRptEditCtrlType controlType, 
     String fieldName, 
     String formulaText, 
     int fieldType, 
     int fieldIndex) 
 {
     beginDraging();
     m_controlName = controlName;
     m_controlType = controlType;
     m_fieldName = fieldName;
     m_formulaText = formulaText;
     m_fieldIndex = fieldIndex;
     m_fieldType = fieldType;
 }
Example #2
0
 public void pAddLabelAux(csRptEditCtrlType ctlType) {
     beginDraging();
     m_controlName = "";
     m_controlType = ctlType;
     m_fieldName = "";
     m_formulaText = "";
     m_fieldIndex = 0;
     m_fieldType = 0;
 }
Example #3
0
 private void endDraging() {
     m_draging = false;
     m_controlType = csRptEditCtrlType.CSRPTEDITNONE;
     m_picReport.Cursor = Cursors.Default;
 }
Example #4
0
        public void addDBField() {
            String sField = "";
            int nIndex = 0;
            int nFieldType = 0;

			if (!cGlobals.showDbFields(sField, nFieldType, nIndex, this))
				return;

            beginDraging();
            m_controlName = "";
            m_controlType = csRptEditCtrlType.CSRPTEDITFIELD;
            m_fieldName = sField;
            m_formulaText = "";
            m_fieldIndex = nIndex;
            m_fieldType = nFieldType;
        }