Sign in Join

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

Mailing lists / lazarus / 2013-11

Can't enter negative values in to TFloatSpinEdit

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Valdas Jankūnas

Helo,

situation:
- os: Linux Kubuntu 13.10;
- Lazarus: Lazarus 1.3 r43416M FPC 2.6.2 x86_64-linux-qt;
- locale: LANG=lt_LT.UTF-8, LANGUAGE=lt, LC_*="lt_LT.UTF-8", LC_ALL=
- Form's WS: qt;
- on Form is placed TFloatSpinEdit (Max:100, Min:-100).

When program is running I can't enter negative values:
- select all, pres minus sign button (hex: 2D) - minus appears, press any digit - no reaction;
- select all, press any digit - digits appears;
- select all, paste (Right click -> Paste) "-4" prom text editor - nothing changes;
- select all, paste "3" from editor - text accepted.

Why? Is it known problem?

Valdas Jank?nas

Reply by email

Avishai
to Valdas Jankūnas
I work with Windows so it may be different.  I set
TFloatSpinEdit.MinValue:= -100 and I can enter negative values.
Valdas Jank?nas wrote 27 lines
Helo, situation: - os: Linux Kubuntu 13.10; - Lazarus: Lazarus 1.3 r43416M FPC 2.6.2 x86_64-linux-qt; - locale: LANG=lt_LT.UTF-8, LANGUAGE=lt, LC_*="lt_LT.UTF-8", LC_ALL= - Form's WS: qt; - on Form is placed TFloatSpinEdit (Max:100, Min:-100). When program is running I can't enter negative values: - select all, pres minus sign button (hex: 2D) - minus appears, press any digit - no reaction; - select all, press any digit - digits appears; - select all, paste (Right click -> Paste) "-4" prom text editor - nothing changes; - select all, paste "3" from editor - text accepted. Why? Is it known problem? -- Valdas Jank?nas -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Shalom, Avishai ????? ????

Reply by email

zeljko
to Valdas Jankūnas: situation: - os: Linux Kubuntu 13.10; - Lazarus: Lazarus 1.3 r43416M FPC 2.6.2…
Valdas Jank?nas wrote 18 lines
Helo, situation: - os: Linux Kubuntu 13.10; - Lazarus: Lazarus 1.3 r43416M FPC 2.6.2 x86_64-linux-qt; - locale: LANG=lt_LT.UTF-8, LANGUAGE=lt, LC_*="lt_LT.UTF-8", LC_ALL= - Form's WS: qt; - on Form is placed TFloatSpinEdit (Max:100, Min:-100). When program is running I can't enter negative values: - select all, pres minus sign button (hex: 2D) - minus appears, press any digit - no reaction; - select all, press any digit - digits appears; - select all, paste (Right click -> Paste) "-4" prom text editor - nothing changes; - select all, paste "3" from editor - text accepted. Why? Is it known problem?

Please open issue about it and attach example.

zeljko

Reply by email