iX Talk

ListBox object
Page 1 of 1

Author:  kkwon2 [ Mon Dec 11, 2017 2:31 pm ]
Post subject:  ListBox object


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.


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?

Author:  AMitchneck [ Tue Dec 12, 2017 7:46 am ]
Post subject:  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.

Author:  kkwon2 [ Tue Dec 12, 2017 7:52 am ]
Post subject:  Re: ListBox object

Will try text box.


Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group