Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001574 [tweak] Any feature always 07-29-05 03:03 07-29-05 03:03
Reporter elenzil View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0001574: [enh] CTextConverter validation framework & nicely working CNumberConverter subclass
Description I'm no GUI framework guru,
so possibly this is structured badly,
but on the other hand it might be a reasonable place to start.

A framework for validating input.

For example, especially, number inputs
s.t. reasonable values are always returned when the user inputs
something that isn't a number, is empty, or is out of range, etc.

New classes:

CInputValidator - very simple class returning True or False for a given value.
CNumberValidator - subclass of CInputValidator implementing the example above.
CNumberConverterOxe - subclass of CNumberConverter using the validator & with visual feedback.

See screenshot and discussion here: http://orionelenzil.blogspot.com/2005/07/input-validation.html [^]
Additional Information
Attached Files  CNumberConverterOxe_20050728.zip [^] (2,463 bytes) 07-29-05 03:03

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-29-05 03:03 elenzil New Issue
07-29-05 03:03 elenzil File Added: CNumberConverterOxe_20050728.zip


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
29 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker