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++ Core » Problem with Droplists and new Value
Problem with Droplists and new Value [message #36519] Mon, 04 June 2012 15:18 Go to previous message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hi all,

In order to activate new Value, SVO_VALUE flag must be added to the main package configuration. All is working well except when you need to use DropList and want to add richtext items to the droplist with AttrText for example.

In that case, the GetIndex() function retuns -1 and Assertation message error ">=0 and <GetCount() in Vcont.h" is displayed.

A test case is enclosed. This shows that DropList::GetIndex() returns systematically -1. I am running MS Win XP and MSC9 for compilation.

So how to keep the possibility of using richtext encoding in droplist items using AttrText as before new Value was implemented? Anybody has an idea ?

Thanks in advance
_____________________

Regards

Biobytes

[Updated on: Mon, 04 June 2012 21:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: A warning in Diag.h
Next Topic: String isn't pickable?
Goto Forum:
  


Current Time: Thu May 09 18:33:00 CEST 2024

Total time taken to generate the page: 0.02150 seconds