- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Getting Focus on a Control
Wed 12 Feb 2020 - 7:57
Is there a way of getting focus on a control? The code is below. We need to write the value of this control away before there's been any interaction with the screen.
FWBS.OMS.OMSFile file = EnquiryForm.Enquiry.Parent as
FWBS.OMS.OMSFile
http://EnquiryForm.GetIBasicEnquiryControl2(“nodocsappl”,EnquiryControlMissing.Exception).Equals file.ExtendedData[
string value = EnquiryForm.GetIBasicEnquiryControl2(“nodocsappl”,EnquiryControlMissing.Exception).Value.ToString(); “extplanning”].SetExtendedData(“nodocsappl”, value);
FWBS.OMS.OMSFile file = EnquiryForm.Enquiry.Parent as
FWBS.OMS.OMSFile
http://EnquiryForm.GetIBasicEnquiryControl2(“nodocsappl”,EnquiryControlMissing.Exception).Equals file.ExtendedData[
string value = EnquiryForm.GetIBasicEnquiryControl2(“nodocsappl”,EnquiryControlMissing.Exception).Value.ToString(); “extplanning”].SetExtendedData(“nodocsappl”, value);
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Re: Getting Focus on a Control
Wed 12 Feb 2020 - 7:57
Are you wanting to Set the Cursor to the control called nodocsappl
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Re: Getting Focus on a Control
Wed 12 Feb 2020 - 7:57
Peter helped me fix it with a controlname.update();
Permissions in this forum:
You cannot reply to topics in this forum
|
|