Recent

Author Topic: Behaviour of tmemo and taborder?  (Read 5252 times)

Yogi

  • New Member
  • *
  • Posts: 42
Behaviour of tmemo and taborder?
« on: September 07, 2010, 08:18:22 pm »
 %) Hello All

  • Start a new project
  • Place two or three "tedit" on the form
  • Place a "tmemo" on the fom
  • check the "tmemo" for "wanttabs" set to false
  • Place three more "tedit" on the fom
  • Check the taborder of the form; the tmemo should be between the tedits
  • Compile and look what happens when You go with "tab" through the components

in my case the focus moves from tedit to tedit and then to tmemo as expected
but from the tmemo on it is not the next tedit in the taborder as expected; it will
be any tedit on the form; I did not find any rule which will be the next, but it has to do something with the relative positions of the components on the form:
When You move around the tedits but keep the taborder it will be another tedit that
will be focused from the tmemo on

Anybody there who saw this before or has a clue what to do?

Lazarus 0.9.29
FPC 2.4.0
SVN 27183
i386-linux-gtk2

Debian 5.0.5 (lenny)
Linux 2.6.26-2-686
GNOME 2.22.3

Lazarus 1.3 SVN 44197 * FPC 2.7.1 SVN 26822
Linux: 3.2.0-4-686-pae * Debian wheezy
Windows: W98

eny

  • Hero Member
  • *****
  • Posts: 1647
Re: Behaviour of tmemo and taborder?
« Reply #1 on: September 07, 2010, 09:24:50 pm »
Maybe it's Linux related?
It works fine on XP.
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

Yogi

  • New Member
  • *
  • Posts: 42
Re: Behaviour of tmemo and taborder?
« Reply #2 on: September 07, 2010, 09:35:01 pm »
Could be, but i can not check with windoof, i dont have one

I played around a little bit:

If you place all components in one row or one column everything is ok, the taborder is respected

Two tedits, one tmemo and two tedits in a column and then in a second column four
more tedits and you get this behaviour. The focus will jump from tmemo to one of the tedits in the second column and will never reach the tedits under the tmemo
I can clearly reproduce this
Lazarus 1.3 SVN 44197 * FPC 2.7.1 SVN 26822
Linux: 3.2.0-4-686-pae * Debian wheezy
Windows: W98

zeljko

  • Hero Member
  • *****
  • Posts: 1769
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Behaviour of tmemo and taborder?
« Reply #3 on: September 07, 2010, 10:06:33 pm »
Then please fill an issue about it and attach example.

 

TinyPortal © 2005-2018