| View previous topic :: View next topic |
| Author |
Message |
elr
Joined: 11 Sep 2006 Posts: 2
|
Posted: Wed Jun 27, 2007 1:56 pm Post subject: Bug in TNumIO2 ? |
|
|
There seems to be a bug in TNumIO2 in connection with the "-" character:
At design time I've set the value of a TNumIO2 control to "-1" (RangeLow is -1 , RangeHigh is 9999, InputFormat is itInt).
At runtime I would like to edit the value and change it to "0". If I place the cursor behind the "1" and delete it an error occurs two times saying " '-' is not a valid integer" .
Of course the message itself is right, but it shouldn't be there. For now it looks like TNumIO2 can't be used in combination with negative values... |
|
| Back to top |
|
 |
vez
Joined: 12 Jun 2007 Posts: 4
|
Posted: Thu Jun 28, 2007 1:51 pm Post subject: |
|
|
| The same as for unsigned integer greater then 0x80000000, as in my previous message |
|
| Back to top |
|
 |
fmolina
Joined: 08 Sep 2006 Posts: 7 Location: Universidad de Buenos Aires, Argentina
|
Posted: Sat Dec 27, 2008 3:13 am Post subject: Bug still in v 9.51 |
|
|
Hello,
The bug with negative values is still present in version 9.51 of the suite. It happens either setting input format to "ItInt" or "ItDynamic".
TNUMIO2 cannot be used for negative integer input at all.
Nice New Year for all of you.
Fernando |
|
| Back to top |
|
 |
hlohning

Joined: 08 Sep 2006 Posts: 163 Location: Austria
|
Posted: Sun Jan 04, 2009 1:42 pm Post subject: |
|
|
Hello everybody,
the problem is solved. The upcoming release 9.6 will have it fixed.
(this release will be available by end of January). If you need the fix urgently, please let me know - I'll send you a beta copy.
Regards,
Hans _________________ Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/ |
|
| Back to top |
|
 |
vez
Joined: 12 Jun 2007 Posts: 4
|
Posted: Fri Apr 09, 2010 5:08 pm Post subject: |
|
|
For TNumIO and TNumIO2 I have one very old (may be 5-6 years) issue (I am using CB6 and CB2010).
The property NumIO->RangeLow will not be saved to the dfm file after changing by the designer.
This also can be seen if this control will be copied and pasted to the new place - in this case NumIO->RangeLow = -MAX_DOUBLE value.
For RAD2010 I have to set this value in the code by hand, as this property does not exist in the dfm file.
Can be this fixed? |
|
| Back to top |
|
 |
hlohning

Joined: 08 Sep 2006 Posts: 163 Location: Austria
|
Posted: Mon Apr 12, 2010 9:05 pm Post subject: |
|
|
Hm, I actually thought that this issue has been resolved a few years ago.... I've to look after that.
Thanks for the hint,
- Hans _________________ Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/ |
|
| Back to top |
|
 |
vez
Joined: 12 Jun 2007 Posts: 4
|
Posted: Fri Jun 18, 2010 7:31 pm Post subject: |
|
|
| vez wrote: | For TNumIO and TNumIO2 I have one very old (may be 5-6 years) issue (I am using CB6 and CB2010).
The property NumIO->RangeLow will not be saved to the dfm file after changing by the designer.
This also can be seen if this control will be copied and pasted to the new place - in this case NumIO->RangeLow = -MAX_DOUBLE value.
For RAD2010 I have to set this value in the code by hand, as this property does not exist in the dfm file.
Can be this fixed? |
I've just checked presence of this bug for the new version 9.7, using simple test on CBuilder2010. It seems that this is not fixed yet, I set the RangeLow to the 0 and after reopening of the project the RangeLow is equal to 10-308 |
|
| Back to top |
|
 |
hlohning

Joined: 08 Sep 2006 Posts: 163 Location: Austria
|
Posted: Mon Jun 21, 2010 11:11 am Post subject: |
|
|
I feel embarrassed about admitting this, but you are absolutely right (it was my mistake, I simply forgot to look after that problem).
In order to avoid such mistakes in the future, I installed a public bug tracking page where you can read about the state of the bug fixing process:
http://www.lohninger.com/bugtracking.html
Regards,
Hans _________________ Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/ |
|
| Back to top |
|
 |
|