/ Published in: Other
This is the "populate()" function of one script object.
First, connect the "selectionChanged()" signal (of ListBox1) with "populate()" slot (of this script object)
First, connect the "selectionChanged()" signal (of ListBox1) with "populate()" slot (of this script object)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@switch( @ListBox1.selection() ) @case(string1) @Label1.SetText( string1 ) @case(string2) @Label1.SetText( string2 ) @case(string3) @Label1.SetText( string3 ) @case(string4) @Label1.SetText( string4 ) @case(string5) @Label1.SetText( string5 ) @end