API Component.SetVisible: Difference between revisions
Appearance
XML import API auto-gen |
XML import |
||
| Line 2: | Line 2: | ||
Sets whether a component can be seen on the panel | Sets whether a component can be seen on the panel | ||
<div style="width:25%; float:right" class="toc"> | |||
===Class hierarchy=== | |||
:Component | |||
::SetVisible | |||
</div> | |||
__TOC__ | |||
==Parameters== | |||
''[[Variable types|HANDLE]] Target'' | ''[[Variable types|HANDLE]] Target'' | ||
:The component to set the state for | :The component to set the state for | ||
| Line 11: | Line 17: | ||
:True to enable, false to disable | :True to enable, false to disable | ||
==Return value== | |||
''This call does not return a value'' | ''This call does not return a value'' | ||
==Detailed description== | |||
''No additional information'' | ''No additional information'' | ||
==Examples== | |||
===Calling in a calculation=== | |||
* Add to a calculation icon: <pre class="brush:[ | * Add to a calculation icon: <pre class="brush:[cpp]">::Component.SetVisible(target, true)</pre> | ||
Revision as of 15:35, 11 May 2013
<sidebar>API contents</sidebar> Sets whether a component can be seen on the panel
Class hierarchy
- Component
- SetVisible
Parameters
HANDLE Target
- The component to set the state for
- The default value for this parameter is: this
BOOL Enabled
- True to enable, false to disable
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Component.SetVisible(target, true)