SelectedLine

Parent Previous Next

SelectedLine

This property returns the selected line in the alarm object.


Function Definition:


            int SelectedLine  {get; set;}


.     get: Permits the user to read the integer value.

.     set: Permits the user to write the integer value.



To configure this function, follow the steps below:


1.   In an object event, configure the SelectedLine function: AlarmObjectName.SelectedLine;


2.   During the execution of RunTime, run the configured event.



Example Get:


In the graphic document, the user has one Alarm object (named as GraphicObject1). In a Text-Box object (named as GraphicObject2) the user configures the MouseUp event with the following event:


GraphicObject2.Text = GraphicObject1.SelectedLine;


In this event, the GraphicObject2 will exhibit the index value indicating the selected line.



Example Set:


In the graphic document, the user has one Combo-Box object (named as GraphicObject1). In a Button object (named as GraphicObject2) the user configures the MouseUp event with the following event:


GraphicObject1.SelectedLine = 1;


In this event, the GraphicObject1 will select the second line of the object. The first line of the object corresponds to the index 0 (zero).



 

Note: This property exists only to the following objects:

.     Alarm