Hi,
Using a list box to display a message; typically only one message will be shown at a time. Need Multilanguage support, so using the list box Configure Texts dialog to enter the text. Text will depend on a tags value.
TagMessageIndex
Message Start Value End Value
Text1 1 1
Text2 2 2
Text3 3 3
So if TagMessageIndex is 1, Text1 is displayed in the List box.
TagMessageIndex is 2, Text2 is displayed in the List box. etc.
Just wonder why all Text messages are displayed in the Listbox as I add them to the Configure Texts dialog; note not yet running the application. Or am I not using the Configure Texts properly?
ListBox object
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: ListBox object
It sounds like what you really want to use is a textbox not a listbox. A listbox is designed to give a list of items for a user to select. From playing with it a little, it seems the configure texts is used to create the list of items and set a tag to the value associated with the selected index. If all you are displaying is one (even multi-line) message then I would switch to a textbox.
In my application, I use a listbox to display multiple events in sequential order. To support multi-language, I clear the listbox and reload it with the new language using script.
In my application, I use a listbox to display multiple events in sequential order. To support multi-language, I clear the listbox and reload it with the new language using script.
Adam M.
Controls Engineer
FlexEnergy
Controls Engineer
FlexEnergy
Re: ListBox object
Will try text box.
Thanks,
Ken
Thanks,
Ken