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 » DropList bug
DropList bug [message #45516] Thu, 26 November 2015 17:15 Go to next message
Alboni is currently offline  Alboni
Messages: 182
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
Hello,

If I create a DropList with different identifiers but the same text and different colors, the DropList doesn't show the new color if a different selection has already been made.

I made an example. (see attachment)

Instruction for use:
run the program and select a color combination from the DropList. This works ok.
then pick a different color combination. The color doesn't change, but GetData() does return the right number.

This stopped working when I updated UPP from 7746 to 8227 (Windows)
Also doesn't work with 9235 (Linux)

[Updated on: Thu, 26 November 2015 17:23]

Report message to a moderator

Re: DropList bug [message #45526 is a reply to message #45516] Fri, 27 November 2015 10:54 Go to previous message
mirek is currently offline  mirek
Messages: 12105
Registered: November 2005
Ultimate Member
Thanks for reporting, should be fixed.

It was actually AttrText problem - so far, two AttrText were considered equal if text was equal. Means value displayed in DropList was same and no refresh was performed.

Added checking other attributes, hopefully it will not cause trouble elsewhere (should not).
Previous Topic: Menu and UHD on Windows
Next Topic: Creating sub menus without callback functions
Goto Forum:
  


Current Time: Sun Nov 17 01:29:36 CET 2019

Total time taken to generate the page: 0.02511 seconds