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 » Converters and Value problem
Re: Converters and Value problem [message #27593 is a reply to message #27565] Sun, 25 July 2010 09:18 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mubeta wrote on Fri, 23 July 2010 06:11


Example:
char i;

i limits are: -128, +127 in decimal
i limits are: 0x80, 0x7f in exadecimal
etc...



Both ranges are subset of that one of int.

What you need here is special converter (one that enforces only -128, +127 range), not another Value type.

If you do not like having 4 Convert classes, create one parametrized..

Mirek

[Updated on: Sun, 25 July 2010 09:24]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: DONE: ColumnList with Ctrl's
Next Topic: Persistent "tips"
Goto Forum:
  


Current Time: Wed May 08 10:34:22 CEST 2024

Total time taken to generate the page: 0.02665 seconds