Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Getting Focus on a Control Empty 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);
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Getting Focus on a Control Empty Re: Getting Focus on a Control

Wed 12 Feb 2020 - 7:57
Are you wanting to Set the Cursor to the control called nodocsappl
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Getting Focus on a Control Empty Re: Getting Focus on a Control

Wed 12 Feb 2020 - 7:57
Peter helped me fix it with a controlname.update();
Sponsored content

Getting Focus on a Control Empty Re: Getting Focus on a Control

Back to top
Permissions in this forum:
You cannot reply to topics in this forum