Recent

Author Topic: How to stop Lazarus sorting the added compoments in the unit  (Read 555 times)

andyf97

  • New Member
  • *
  • Posts: 21
How to stop Lazarus sorting the added compoments in the unit
« on: April 02, 2023, 12:24:06 pm »
When I add example 15 Labels to a form, Looks like Lazarus sorts these in AlphaNumerical order, is this an option that I can turn off any re-organizing of the unit so they are just in added order.

Thaddy

  • Hero Member
  • *****
  • Posts: 14157
  • Probably until I exterminate Putin.
Re: How to stop Lazarus sorting the added compoments in the unit
« Reply #1 on: April 02, 2023, 12:44:41 pm »
When adding a label, in your case, change the name in something meaningful. So not label1, etc.

What the Lazarus IDE tries to do is maintain selection order. This has consequences like e.g. the TAB key.
That is a quite nice feature.
Why would you drop order? Although it can be set by hand.....
Specialize a type, not a var.

andyf97

  • New Member
  • *
  • Posts: 21
Re: How to stop Lazarus sorting the added compoments in the unit
« Reply #2 on: April 02, 2023, 08:27:18 pm »
Why I would not want things re-arranged is because I am porting some D3 amongst other applications going back to 1997 and things keep shifting around and its driving me nuts.

That's why

:-)


When adding a label, in your case, change the name in something meaningful. So not label1, etc.

What the Lazarus IDE tries to do is maintain selection order. This has consequences like e.g. the TAB key.
That is a quite nice feature.
Why would you drop order? Although it can be set by hand.....

 

TinyPortal © 2005-2018