Jump to content

Display Combobox IconItem by code


awendisch

Recommended Posts

14 hours ago, awendisch said:

I need to set the image of a combobox using IconItem, but I need the image to be changed by code. I can change the Combobox's ItemIndex but that does not update the image.

Hello,

Sorry, can you please explain in more detail?

Link to comment
Share on other sites

On 23/05/2020 at 15:13, Sherzod said:

Olá,

Desculpe, você pode explicar com mais detalhes?

Hello. yea,
What I mean is visible in the .gif image I just attached. what i need is to be able to set the combobox image at runtime, so that when opening the form the image is loaded to the component.

IconItems.gif

Link to comment
Share on other sites

19 minutes ago, Sherzod said:

Thanks for the testcase.

Sorry, please clarify once again, with what difficulty you are faced?

Note that when the edit record button is clicked, the form opens and the selected image is no longer displayed. What I need is to load the image. the test that must be done is.
1 - edit record
2 - change the image
3 - click again to edit record
4 - notice that the image was not loaded (Problem is here)

Link to comment
Share on other sites

3 hours ago, awendisch said:

Note that when the edit record button is clicked, the form opens and the selected image is no longer displayed. What I need is to load the image. the test that must be done is.
1 - edit record
2 - change the image
3 - click again to edit record
4 - notice that the image was not loaded (Problem is here)

Ok, I will try to understand and check.

Link to comment
Share on other sites

  • 5 weeks later...
16 minutes ago, awendisch said:

I really regret that it takes so long for us, the user who paid for the unigui tool and we are betting on its evolution, to have answers to problems.

Hello,

Sorry for the late response...

Am I doing everything right? Is there an issue?

comboImg.gif.977d6f24b3ff75e5f62d2928a97b9b05.gif

Link to comment
Share on other sites

Há duas horas, Sherzod disse:

Olá,

Desculpe pela resposta tardia ...

Estou fazendo tudo certo? Existe algum problema?

comboImg.gif.977d6f24b3ff75e5f62d2928a97b9b05.gif

hello alright,

yes, this is the behavior I need.
My version of UniGui is 1.90.0.1510. Is there a bug?
did you make any changes to load the icon a second time?

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...