Difference between revisions of "API Panel.Position.Set"

From Flowcode Help
Jump to navigationJump to search
(XML import)
Line 30: Line 30:
 
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.Set(dest, source)</pre>
 
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.Set(dest, source)</pre>
  
''<span style="color:red;">No additional information</span>''
+
===Flowcode example file===
 +
From the '''SimulationAPIExamples''' folder load '''SIMAPI_Panel_Position_Set.fcf''' file into Flowcode. In this example,
 +
The screenshots below show the effect and also highlight the code used by the example.
 +
 
 +
[[File:SIMAPI_Panel_Position_Set_Pic1.png]][[File:SIMAPI_Panel_Position_Set_Pic2.png]]
 +
[[File:SIMAPI_Panel_Position_Set_Pic0.png]]

Revision as of 15:42, 15 May 2013

<sidebar>API contents</sidebar> Sets an objects position based on a component or pre-defined position

Class hierarchy

Panel

Position
Set

Parameters

HANDLE Dest

The position or component to update

HANDLE Source

The position or component to read from


Return value

This call does not return a value


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Position.Set(dest, source)

Flowcode example file

From the SimulationAPIExamples folder load SIMAPI_Panel_Position_Set.fcf file into Flowcode. In this example, The screenshots below show the effect and also highlight the code used by the example.

SIMAPI Panel Position Set Pic1.pngSIMAPI Panel Position Set Pic2.png SIMAPI Panel Position Set Pic0.png