Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Menus&Toolbars » Repainting of DropList
Re: Repainting of DropList [message #51168 is a reply to message #51150] Wed, 13 February 2019 10:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
crydev wrote on Sun, 10 February 2019 12:34
Hello,

I'm having trouble with the DropList control. Suppose that I add some item with string description 'test' to the DropList. It will be added and visible. When I click the DropList, everything is okay. Now I change the string representation of this element to 'somethingelse', but I don't yet click the DropList. The DropList will not reflect the new string representation of the element, even when I call 'Refresh'. How can I make sure it refreshes without having to drop the list?

Thanks in advance!


How do you change it?

Anyway, in general, the value displayed in DropList is not really the value from the list - it is independent. In fact, DropList can even display value that is not in the list (some setup of DropList is needed for this).

So if I understand your situation well, I think you will need to reassign the value (using <<= aka SetData). If not, provide better explanation and testcase please.

[Updated on: Wed, 13 February 2019 10:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Bar::Item - adding 'Get' function(s)?
Next Topic: Menus become inaccessible
Goto Forum:
  


Current Time: Sun May 05 07:14:27 CEST 2024

Total time taken to generate the page: 0.02998 seconds