Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ListBox object
PostPosted: Mon Dec 11, 2017 2:31 pm 

Joined: Thu Dec 13, 2012 2:07 pm
Posts: 10

Offline
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?


 Profile  
 
 Post subject: Re: ListBox object
PostPosted: Tue Dec 12, 2017 7:46 am 

Joined: Mon Jun 11, 2012 2:10 pm
Posts: 97

Offline
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.

_________________
Adam M.
Controls Engineer
FlexEnergy


 Profile  
 
 Post subject: Re: ListBox object
PostPosted: Tue Dec 12, 2017 7:52 am 

Joined: Thu Dec 13, 2012 2:07 pm
Posts: 10

Offline
Will try text box.

Thanks,
Ken


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron