Lazarus
Programming => Graphics => Graphics and Multimedia => BGRABitmap and LazPaint => Topic started by: madref on March 24, 2020, 05:08:57 pm
-
I have build a ribbon using the BGRA Control unit.
It all works as programmed, but I have a flaw in it.
Not every part of the ribbon is displayed in the right order.
How can I order it correctly?
Look for the attachments here:
https://forum.lazarus.freepascal.org/index.php?topic=49003.0 (https://forum.lazarus.freepascal.org/index.php?topic=49003.0)
-
I have been thinking about my problem for a while now and came up with this solution
I now calculate the ribbons that must be in front of the part I need.
Then I use the Left-property and set it to the calculated width of all the ribbons in front of that.
And whale...... it's where it should be.
Not pritty, but effective
-
I see. Yeah I only found that solution for my toolbars as well.