Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-06

TSpinEdit errors

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to domin: TSpinEdit behaves strange, I wonder if it's a bug or "under construction", The…
TSpinEdit behaves strange, I wonder if it's a bug or "under construction", The "features" ;) are: * cannot set DecimalPlaces to 0, it switches to default (2);

fixed

* the value switches to 0 * cannot change the value (when exiting control it returns to initial); both arrows are always disabled

Hmm. Works for me. Can you give more details?

All of these happends on runtime, when designing it all seems to work OK so I think it can be streaming-related error. I'm using the latest CVS version of Lazarus

Mattias

Reply by email

domin

TSpinEdit behaves strange, I wonder if it's a bug or "under construction", The "features" ;) are:

* cannot set DecimalPlaces to 0, it switches to default (2);
* the value switches to 0
* cannot change the value (when exiting control it returns to initial);
   both arrows are always disabled

All of these happends on runtime, when designing it all seems to work OK so I think it can be streaming-related error.
I'm using the latest CVS version of Lazarus

_| _ _ * _ ds7 p.309 ftp://domin (_| (_) ||| | | ) ,+���+,��,+���+,��,+���+,��,+���+,��,+���+,��,+���+,�,+���+,��,+���+ ...nigdy wolny, nigdy ja - więc nie będę potępiony (c)metallica

Reply by email

domin
to domin

Dnia pon 16. czerwca 2003 19:34, Mattias Gaertner napisał:

Show quoted text 5 lines
> * the value switches to 0 > * cannot change the value (when exiting control it returns to initial); > both arrows are always disabled Hmm. Works for me. Can you give more details?

I'll try. 100% repeatable. Value always switches to 0, no matter what I set in designer with correct number of decimal places. I can edit it, but cannot change, both arrows are grayed. It looks like control assumes the value incorrect maybe something wrong with Min & Max or used numerical type I've tried many things without any change.
In the designer It's 99 % OK, but sometimes value switches to the same arbitral value, AFAIR it was 3,67
I have both GTK 1.4 and 2.2 installed, running under KDE, decimal delimiter is ","

Dominik Zablotny ,+���+,��,+���+,��,+���+,��,+���+,��,+���+,��,+���+,�,+���+,��,+���+ ...nigdy wolny, nigdy ja - więc nie będę potępiony (c)metallica

Reply by email

Mattias Gaertner
to domin: TSpinEdit behaves strange, I wonder if it's a bug or "under construction", The…
Show quoted text 18 lines
Dnia pon 16. czerwca 2003 19:34, Mattias Gaertner napisa__: > > * the value switches to 0 > > * cannot change the value (when exiting control it returns to > > initial); > > both arrows are always disabled > Hmm. Works for me. Can you give more details? I'll try. 100% repeatable. Value always switches to 0, no matter what I set in designer with correct number of decimal places. I can edit it, but cannot change, both arrows are grayed. It looks like control assumes the value incorrect maybe something wrong with Min & Max or used numerical type I've tried many things without any change. In the designer It's 99 % OK, but sometimes value switches to the same arbitral value, AFAIR it was 3,67 I have both GTK 1.4 and 2.2 installed, running under KDE, decimal delimiter is ","

The fcl in the fpc 1.0.7 is not able to edit floats via RTTI. This is the case for the OI. If you want to edit TSpinEdit values in the designer you need at least the 1.0.8.

Mattias

Reply by email

domin
to domin: TSpinEdit behaves strange, I wonder if it's a bug or "under construction", The…

Dnia pon 16. czerwca 2003 20:15, Mattias Gaertner napisał:

The fcl in the fpc 1.0.7 is not able to edit floats via RTTI. This is the case for the OI. If you want to edit TSpinEdit values in the designer you need at least the 1.0.8.

I have FPC 1.1 and compiled Lazarus with it
The problem with 3.67 in the designer is minor,
the major is on runtime

Dominik Zablotny ,+���+,��,+���+,��,+���+,��,+���+,��,+���+,��,+���+,�,+���+,��,+���+ ...nigdy wolny, nigdy ja - więc nie będę potępiony (c)metallica

Reply by email