Recent

Author Topic: [partially solved]TCoolBar: to set initial coordinates of TCoolBar.Bands.Item  (Read 2319 times)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Hmmmmm...

How to solve subject? TCoolBand.Left property is readonly. To write the successor from TCoolBar?

ps. can be, someone will prompt the third-party T*CoolBar component?
« Last Edit: November 27, 2014, 01:23:06 pm by zoltanleo »
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

Blaazen

  • Hero Member
  • *****
  • Posts: 3240
  • POKE 54296,15
    • Eye-Candy Controls
Re: TCoolBar: how to set initial coordinates of TCoolBar.Bands.Item
« Reply #1 on: November 27, 2014, 01:12:05 pm »
This is by design. If you need some control to be more on left, you can change the width of previous band. This may, of course, enlarge the control on previous band. Bands are always shrunken to the left (or to the right in case of BiDiMode is RightToLeft).

Other possibility: use TControlBar instead of TCoolBar.

In both cases, you would use Lazarus trunk, since there were several patches and I don't know if they were included in the last stable release.
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: https://sourceforge.net/projects/eccontrols/files/

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Re: TCoolBar: how to set initial coordinates of TCoolBar.Bands.Item
« Reply #2 on: November 27, 2014, 01:22:13 pm »
Aha. In this case I partially solved a problem, changing TCoolBar.Bands.Item [].Break
Thanks for the help
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

Blaazen

  • Hero Member
  • *****
  • Posts: 3240
  • POKE 54296,15
    • Eye-Candy Controls
Break means that bands starts on a new row.
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: https://sourceforge.net/projects/eccontrols/files/

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
yep, it allows me to place strips in the necessary order at least in designtime
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

 

TinyPortal © 2005-2018