- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Using Control developed in Visual Studio
Thu 23 Jan 2020 - 8:49
have a control that I have added to Matter Center and have sucessfully added it to a Form. The problem I am having is that the control has some properties that are listed on the advanced Tab in the designer, but I need to pass data via scriptiing. How do I access these Advanced properties for the control in script. I have tried Enquiryform.GetControl and EnquiryForm.GetIBasicEnquiryControl2 but cannot see how to access the (DailyView) properties. I have attached a screenshot. in the screenshot I would like to pass the control the StartDate value when the form opens. Any guidance would be appreciated.
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Response from TR
Thu 23 Jan 2020 - 8:49
You should be able to do the following DailyView dv = EnquiryForm.GetControl(“DailyView”) as DailyView; Then you can access any properies on dv that are exposed.
Permissions in this forum:
You cannot reply to topics in this forum
|
|