private void InitializeManualCode() { FMainDS = new ExtractTDS(); LoadData("", true, "", ""); // allow multiselection of list items so several records can be deleted at once grdDetails.Selection.EnableMultiSelection = true; grdDetails.DoubleClickCell += new TDoubleClickCellEventHandler(this.MaintainExtract); grdDetails.EnterKeyPressed += new TKeyPressedEventHandler(this.MaintainExtract); }
private void InitializeManualCode() { FMainDS = new ExtractTDS(); LoadData("", true, "", ""); // allow multiselection of list items so several records can be deleted at once grdDetails.Selection.EnableMultiSelection = true; grdDetails.DoubleClickCell += new TDoubleClickCellEventHandler(this.MaintainExtract); grdDetails.EnterKeyPressed += new TKeyPressedEventHandler(this.MaintainExtract); //FPetraUtilsObject.SetToolTip(btnRefreshGrid, Catalog.GetString("Refresh Extract List")); }
private void InitializeManualCode() { FMainDS = new ExtractTDS(); // hide field for "created by". This was only introduced in the yaml file so the mechanism // with the template for controlMaintainTable works as in this case there is no entry fields // in pnlDetails that allow changes to the MExtract record txtCreatedBy.Visible = false; lblCreatedBy.Visible = false; // set this property to false as otherwise save button will get enabled whenever values // in the partner info control change ucoPartnerInfo.CanBeHookedUpForValueChangedEvent = false; grdDetails.DoubleClickCell += new TDoubleClickCellEventHandler(this.EditPartner); grdDetails.EnterKeyPressed += new TKeyPressedEventHandler(this.EditPartner); }