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; }
public void pAddLabelAux(csRptEditCtrlType ctlType) { beginDraging(); m_controlName = ""; m_controlType = ctlType; m_fieldName = ""; m_formulaText = ""; m_fieldIndex = 0; m_fieldType = 0; }
private void endDraging() { m_draging = false; m_controlType = csRptEditCtrlType.CSRPTEDITNONE; m_picReport.Cursor = Cursors.Default; }
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; }