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 » U++ Widgets - General questions or Mixed problems » new DropList items cannot be inserted at the beginning
icon3.gif  new DropList items cannot be inserted at the beginning [message #13266] Thu, 27 December 2007 08:50 Go to next message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
DropList's Add method append current item to the end. I cannot insert it to other places conveniently, such as the beginning.
Re: new DropList items cannot be inserted at the beginning [message #13312 is a reply to message #13266] Mon, 31 December 2007 19:02 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
bonami wrote on Thu, 27 December 2007 02:50

DropList's Add method append current item to the end. I cannot insert it to other places conveniently, such as the beginning.


I wonder what is the usage scenario of such requirement...

Mirek
Re: new DropList items cannot be inserted at the beginning [message #13332 is a reply to message #13312] Wed, 02 January 2008 02:55 Go to previous messageGo to next message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
for simplicity, i capture my program and show you the situation.
i pulled down a DropList, and i sent 456 after 123, so 456 is shown under 123. Since it is a history list, i want to show recent items above.
  • Attachment: ezcomm.jpg
    (Size: 21.16KB, Downloaded 241 times)
Re: new DropList items cannot be inserted at the beginning [message #13354 is a reply to message #13332] Wed, 02 January 2008 21:55 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
bonami wrote on Tue, 01 January 2008 20:55

for simplicity, i capture my program and show you the situation.
i pulled down a DropList, and i sent 456 after 123, so 456 is shown under 123. Since it is a history list, i want to show recent items above.


I would keep it as separate list and "reload" it into DropList each time it changes.

Mirek
Previous Topic: Button color Foreground Background
Next Topic: can't WithDropChoice's data be accessed?
Goto Forum:
  


Current Time: Tue Apr 16 12:17:21 CEST 2024

Total time taken to generate the page: 0.03200 seconds