TControlBar/TCoolbar status lazarus / 31-LCL ---------------------------------------------------------------------- taazz · 2014-05-25 05:18 any one knows what is the status of tcoolbar tcontrolbar components? Is there any new development with them and if yes are they stable enough for testing? If they are in the testing phase can they be used from lazarus 1.2.0 if not any one knows why? ---------------------------------------------------------------------- Blaazen · 2014-05-25 08:28 TCoolBar is almost finished (except BiDi mode) but patches are not yet included in 1.2.0 nor 1.2.2. There's is request to merge them to 1.2.4. Now you can use it only with 1.3. I'm currently working on TControlBar but there's not much finished yet. I'm observing Delphi7 behavior etc. I hope that within one week I'll send the first pachtes. ---------------------------------------------------------------------- taazz · 2014-05-25 08:54 Thank you blaazen. Am I going to encounter any significant problems if I tried to back port them to 1.2 my self? ---------------------------------------------------------------------- Blaazen · 2014-05-25 09:02 TCoolBar should work with 1.2.x ---------------------------------------------------------------------- taazz · 2014-05-25 09:10 thanks once more. If you do have problem with the Tcontrolbar drop me a pm I'll do my best to help. ---------------------------------------------------------------------- taazz · 2014-05-25 10:27 I just extracted Tcoolbar in its own unit although it is almost ready it needs work before it can be used  and I am not referring to the  bidi mode. GRabing it and moving it around does nothing unless you grab between the grab bar and control inside in which case the mouse changes to a drag cursor and moving it does not give any visual feed back. It allows  you to to shrink a band smaller than the control inside it allowing the control to draw it self on the next band. overall a good run but not ready to be used in applications. ---------------------------------------------------------------------- Blaazen · 2014-05-25 10:44 QuoteGRabing it and moving it around does nothing unless you grab between the grab bar and control inside in which case the mouse changes to a drag cursor and moving it does not give any visual feed backYes. I'm considering to add there the second thin grabber (some dots or so). The first grabber is for resizing (or for moving if it is the first band on row) while the second grabber should be for moving only. You are right that mouse-cursor should be changed when it's over grab- move area. This must be fixed. Quote It allows  you to to shrink a band smaller than the control inside it allowing the control to draw it self on the next band.Unfortunately I'm not able to reproduce this here on Linux+Qt. If it is some WIndows only behavior I can try to fix it (I have only Wine here). Anyway, thanks for pointing this. ---------------------------------------------------------------------- taazz · 2014-05-25 11:11 Quote from: Blaazen on May 25, 2014, 12:44:46 pmYes. I'm considering to add there the second thin grabber (some dots or so). The first grabber is for resizing (or for moving if it is the first band on row) while the second grabber should be for moving only. that is not intuitive design. A single grab for everything is the way to go, don't waste the end users screen scape. Quote from: Blaazen on May 25, 2014, 12:44:46 pmYou are right that mouse-cursor should be changed when it's over grab-move area. This must be fixed. well the cursor should indicate that there are more actions you can do but the biggest problem is screen space keep in mind that a single coolbar will probably host multiple bands at least 4 uncluding a menu bar (which I'm testing now as you can see in the screen shot below). Quote from: Blaazen on May 25, 2014, 12:44:46 pmUnfortunately I'm not able to reproduce this here on Linux+Qt. If it is some WIndows only behavior I can try to fix it (I have only Wine here). See my screen shot the affected control is a simple toolbar with the default align value. Both coolbar and the toolbar are created in code (no designer). Quote from: Blaazen on May 25, 2014, 12:44:46 pmAnyway, thanks for pointing this. Its the least I can do I would like to be able to do more but at this time I do not have the free time. ---------------------------------------------------------------------- Blaazen · 2014-05-25 11:46 Quotethat is not intuitive design. A single grab for everything is the way to go, don't waste the end users screen scape. I'll try to invent something intuitive. Grabber will resize but if mouse cursor will leave the row (vertically)  it will change to moving. ---------------------------------------------------------------------- taazz · 2014-05-25 12:07 That will be splendid thank you.