FZ_PanDAForm.SetSceneGroupTitle
Sets the scene group title name
Public Shared Function SetSceneGroupTitle( _
ByVal sceneGroupNo As Integer, _
ByVal sceneGroupTitle As String _
) As Integer
Parameters
sceneGroupNo
|
Scene group number to which the title is set
Always specify -1 (current scene group)
|
Input
|
sceneGroupTitle
|
String to be set
|
Input
|
Return Value
Returns 0 when setting the scene group title succeeded.
Otherwise returns a non-zero value.
Description
Sets the specified scene group title.
When -1 is specified for a scene group number, the current scene group will be the configuraion target. However, the configuration target scene group is limited to the current scene group.
Therefore, make sure to specify -1 for a scene group number. Setting a value other than -1 results in an error.
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
' Sets the current scene group title name
SetSceneGroupTitle(-1, "Inspection Line A")
End Sub