Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
Hi, I just start to learn about api control. When I try to add an api control, I got the error:
"topobase" unable to cast object of type 'xxxxxx' to type 'System.Windows.Forms.Control'.
Could anyone tell me the reason? Thanks in advance.
how did you add an API control? I agree with D, you should post more details if you haven't found a solution.
Did you cast your control type?
i.e: _BtnMyNewButton = this.Dialog.Controls.ApiItem("$THEAPIBUTTONNAME") as Topobase.Forms.Button;