Difference between revisions of "API Component.Property.GetVisible"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <sidebar>API | + | <sidebar>API Contents</sidebar> |
Gets whether the property is visible or not | Gets whether the property is visible or not | ||
Line 11: | Line 11: | ||
==Parameters== | ==Parameters== | ||
− | [[Variable | + | [[Variable Types|HANDLE]] ''Handle'' |
:The component handle of the property owner | :The component handle of the property owner | ||
− | [[Variable | + | [[Variable Types|STRING]] ''Property'' |
:The textual name of the property | :The textual name of the property | ||
==Return value== | ==Return value== | ||
− | [[Variable | + | [[Variable Types|BOOL]] |
+ | |||
Returns true if the operation is a success, else false | Returns true if the operation is a success, else false | ||
==Detailed description== | ==Detailed description== | ||
− | + | Reads whether a property of a component is visible in the [[Properties Panel]] or not. | |
− | |||
==Examples== | ==Examples== | ||
Line 32: | Line 32: | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.GetVisible(handle, "property")</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.GetVisible(handle, "property")</pre> | ||
− | ''<span style="color:red;">No additional | + | ''<span style="color:red;">No additional examples</span>'' |
Latest revision as of 15:57, 16 January 2014
<sidebar>API Contents</sidebar> Gets whether the property is visible or not
Contents
Parameters
HANDLE Handle
- The component handle of the property owner
STRING Property
- The textual name of the property
Return value
Returns true if the operation is a success, else false
Detailed description
Reads whether a property of a component is visible in the Properties Panel or not.
Examples
Calling in a calculation
- Declare a variable 'result' of type BOOL
- Add to a calculation icon:
result = ::Component.Property.GetVisible(handle, "property")
No additional examples