Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Linux
»
SelectAll Linux error
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Parameter passing odditie...
by
Nitorami
[
Today
at 09:59:28 am]
splitting an image
by
TRon
[
Today
at 09:40:23 am]
how to tweek fpmake to co...
by
paule32
[
Today
at 08:23:49 am]
Why isn't TTIRadioGroup's...
by
egsuh
[
Today
at 08:09:35 am]
FpDebug questions
by
440bx
[
Today
at 03:43:41 am]
Lazarus for Windows on aa...
by
Wallaby
[April 23, 2024, 11:46:56 pm]
Can function be used for ...
by
jamie
[April 23, 2024, 10:53:10 pm]
(Solved) TIndexedAVLTree ...
by
lainz
[April 23, 2024, 10:49:03 pm]
Demo Scene Picture sinwav...
by
KodeZwerg
[April 23, 2024, 10:26:21 pm]
fkInternalCalc
by
zraja
[April 23, 2024, 09:31:07 pm]
A fairly simple sound sol...
by
KodeZwerg
[April 23, 2024, 09:23:37 pm]
add new targets to make
by
marcov
[April 23, 2024, 08:38:42 pm]
Quirky windows
by
ASerge
[April 23, 2024, 07:07:16 pm]
[Request] Demo Scene Sub ...
by
Gigatron
[April 23, 2024, 06:29:39 pm]
Unlocking Files
by
KodeZwerg
[April 23, 2024, 06:03:08 pm]
[SOLVED] trunk bug for mi...
by
Key-Real
[April 23, 2024, 05:56:32 pm]
Demo Scene Bitmap Font Sc...
by
Gigatron
[April 23, 2024, 05:56:27 pm]
Compile/Convert Delphi pr...
by
Martin_fr
[April 23, 2024, 05:43:11 pm]
Generics - correct syntax
by
Thaddy
[April 23, 2024, 05:40:59 pm]
InstallAware Using Lazaru...
by
msintle
[April 23, 2024, 05:26:36 pm]
Xcode Command Line Tools ...
by
Joseph
[April 23, 2024, 05:16:39 pm]
Offical launch of the 1 B...
by
Hartmut
[April 23, 2024, 04:49:29 pm]
what to do if my target M...
by
nickysn
[April 23, 2024, 04:16:02 pm]
compiler error in unit
by
paule32
[April 23, 2024, 03:49:50 pm]
Multithreading - synchron...
by
mika
[April 23, 2024, 01:48:51 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SelectAll Linux error (Read 3171 times)
Igor Antić
Newbie
Posts: 4
SelectAll Linux error
«
on:
July 03, 2016, 09:20:58 pm »
I use Lazarus 1.4.4 on Windows 7 and Linux Mint 17.3 Rosa all graphic environments (CINNAMON, MATE, etc.).
I have a simple project with one Unit1 and two components TJLabeledIntegerEdit and TLabeledEdit on the same project. On TJLabeledIntegerEdit I have OnExit event following structures
Tfrm_1.JLabeledIntegerEdit1Exit procedure (Sender: TObject);
begin
If (JLabeledIntegerEdit1.Text = '') or (JLabeledIntegerEdit1.Text = '0')
then begin
JLabeledIntegerEdit1.SetFocus;
JLabeledIntegerEdit1.SelectAll;
end;
end;
When I press TAB and value of TJLabeledIntegerEdit is 0, same procedure in Windows give me:
https://s31.postimg.org/q0gdh89bf/slika_1.jpg
Linux:
https://s32.postimg.org/ov68hulh1/Slika2.png
In fact, in Linux when i continue entering the numbers 0 remains at the end, and I get number 1230
https://s32.postimg.org/6zjue5j11/Slika3.jpg
while Windows overwritten 0 and get the number 123
https://s32.postimg.org/77m6i966t/Slika4.png
I managed to get to solutions in Linux, by chance, in a somewhat unusual way. If I add ShowMessage in procedure and code looks like this
Tfrm_1.JLabeledIntegerEdit1Exit procedure (Sender: TObject);
begin
If (JLabeledIntegerEdit1.Text = '') or (JLabeledIntegerEdit1.Text = '0')
then begin
ShowMessage ( 'Heloo!');
JLabeledIntegerEdit1.SetFocus;
JLabeledIntegerEdit1.SelectAll;
end;
end;
after show message
https://s31.postimg.org/tui532zl7/Slika5.png
I press Enter or click the mouse get:
https://s31.postimg.org/k4cbzuwvf/slika_6.jpg
which is identical as in Windows.
How can i achieve in Linux the same result as in Windows without ShowMessage.
Another problem I noticed is that when I entered the TJLabeledIntegerEdit fact i am in EDIT mode with the cursor blinking at the end or beginning of the value
https://s32.postimg.org/lyiqayeyt/slika_7.jpg
and press CTRL + A
https://s31.postimg.org/5gpbo8snf/slika_8.jpg
not select me all TJLabeledIntegerEdit in Linux while in Windows selects all
https://s32.postimg.org/i13ltnab9/slika_9.jpg
https://s32.postimg.org/utrptklx1/slika_10.jpg
Logged
Bart
Hero Member
Posts: 5290
Re: SelectAll Linux error
«
Reply #1 on:
July 03, 2016, 09:46:46 pm »
Please try 1.6.
Bart
Logged
Igor Antić
Newbie
Posts: 4
Re: SelectAll Linux error
«
Reply #2 on:
July 04, 2016, 09:17:10 am »
I tried it with 1.6, but without success, boasting the same.
Logged
Bart
Hero Member
Posts: 5290
Re: SelectAll Linux error
«
Reply #3 on:
July 04, 2016, 01:13:23 pm »
Please report it in the bugtracker.
Make sure to attach a sample project demonstrating the issue (sources only, zipped) and relevant screenshots (not a link, attach upload them to the bugtracker, preferrably as .png).
Bart
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Linux
»
SelectAll Linux error
TinyPortal
© 2005-2018