PDA

View Full Version : ComboBox Problem



CalmoSoft
10th November 2020, 08:30
Hello All,

I am newbie here.
Is it possible to change only text without change items for combobox
Please send an example.
Thanks in advance.
Have a good time and work.

Greetings,
Gal Zsolt
(~ CalmoSoft (https://calmosoft.webnode.hu/) ~)

d_stranz
10th November 2020, 16:25
Is it possible to change only text without change items for combobox

What do you mean "change the text without changing the item" ?

With QComboBox::setItemText() you can change the text of any item in the combobox without reloading all of items. However, if you have the InsertPolicy set so that the combobox strings are sorted, changing the text could cause the contents to be re-sorted.

CalmoSoft
11th November 2020, 07:15
Hello d_stranz,

Thanks for your reply.
This is not my problem I only try to solve it.
I asked the owner of problem to tell the problem in more details:

Ring Forum (https://groups.google.com/forum/?oldui=1#!topic/ring-lang/hDKRc5EuK58)

Have a good time and work.

Greetings,
Gal Zsolt
(~ CalmoSoft ~)