Q: How can I acquire the value for the textbox control during extension development with SuperMap iDesktop 8C?

A: If You add a textbox control in the layout, there will be the property of ‘onAction=”DesktopPlugin1.MyCtrlActionTextBox”’. When needed, you can use ‘ITextBox textbox = SuperMap.Desktop.Application.ActiveApplication.MainForm.RibbonManager[typeof(MyCtrlActionTextBox)] as ITextBox;’to acquire the textbox control and the value of the textbox.

08 July,2019
Tags: iDesktop

More iDesktop FAQ