Author Topic: unknown question  (Read 415 times)


  • New Member
  • *
  • Posts: 13
unknown question
« on: April 04, 2023, 10:25:39 pm »
still new to lazarus, and to z-orders.

I have a form with a pagecontrol on it, with two pages.
I can see the pagecontrol, and the two tabs.
on page one, I can see the radio group.
on page one show, radiogroup.bringtofront.

something changed, and the radio group is no longer responsive to the mouse.
it is visible and  enabled

breakpoints are never hit.
any idea how could I have managed that?


  • Hero Member
  • *****
  • Posts: 3235
  • POKE 54296,15
    • Eye-Candy Controls
Re: unknown question
« Reply #1 on: April 04, 2023, 10:47:58 pm »
Normally, you should not work with z-orders at all. Therefore BringToFront is not necessary.

You should place PageControl on the form, add two TabSheets and place RadioGroup on one of them. You should see it in Object Inspector that RadioGroup is on one of TabSheets. Then it will work automatically.

If RadioGroup is elsewhere, drag it by mouse in OI. Or right-click in form-designer and choose Change Parent ...
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls:


  • Sr. Member
  • ****
  • Posts: 377
Re: unknown question
« Reply #2 on: April 05, 2023, 12:35:15 am »
Are there any circumstances in which z order is useful?
More Pascal enthusiasts are needed on IRC .. IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channels  #fpc  #pascal Please private Message me if you have any questions or need assistance.


TinyPortal © 2005-2018