You can not link a Text Library to a List box, you can with a Combo Box. If you want to create dynamic text with a List box you will need to do it through code. Here is an example that fills a List box with some values when the Screen opens. You would just need to change those values based on the value of a Tag.
Code:
public partial class Screen1
{
void Screen1_Opened(System.Object sender, System.EventArgs e)
{
for(int i=0;i<5;i++){
ListBox1.Items.Add("Count " + i.ToString());
}
}
void ListBox1_MouseDown(System.Object sender, System.Windows.Forms.MouseEventArgs e)
{
Globals.Tags.Tag1.Value = ListBox1.SelectedIndex;
}
}
To link a ComboBox to a Text Library create a combo box and double click it. Then go to the Dynamics tab and click general. Then go to the Text section and there you can select what Text Library you want to use.
Attachment:
double_click_combo.png [ 170.33 KiB | Viewed 472 times ]
Attachment:
DynamicsGeneral.png [ 135.9 KiB | Viewed 472 times ]