* * *

Author Topic: ATTabs  (Read 24045 times)

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #60 on: February 14, 2018, 02:12:36 pm »
Update
Made change for CudaText editor, to make it like Sublime Text. now click on passive tab x-icon dont activate this tab. Only click on caption area of tab does activate.

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #61 on: February 24, 2018, 08:47:54 pm »
Update
add: Data.TabHint field; work of per-tab hints on mouse move (tested on demo).

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #62 on: March 07, 2018, 04:34:58 pm »
Major update/fix

2018.03.07
+ add: method MakeVisible (it's called when changing TabIndex)
+ add: method IsTabVisible
+ add: methods GetTabRect*: added param AWithScroll
+ add: method SwitchTab: added param ALoopAtEdge

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #63 on: April 02, 2018, 10:19:20 am »
Update (from GH reports)

2018.03.25
+ add: vertical tabs now have variable height if OptVarWidth
+ add: public prop ScrollPos
+ add: public method DoScrollAnimation
+ add: Data (TATTabData) has new props:
++ TabSpecialWidth (for horz tabs)
++ TabSpecialHeight (for vert tabs)

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #64 on: June 03, 2018, 11:13:12 am »
Updates

2018.06.02
- fix: custom-drawn tabs cannot be painted with x mark
2018.06.01
* change: instead of Font.Color, now set prop ColorFont
2018.05.21
* change: ATGroups: OnTabPopup event has 2 more params
2018.05.20
+ add: ATGroups: add method MoveTabsFromGroupToAnother

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #65 on: August 30, 2018, 11:12:36 am »
Updates for last 2 months

2018.08.30
+ add: ATTabs: option OptWhichActivateOnClose (right tab or recent tab)
+ add: ATTabs: event OnTabGetTick to support option above
+ add: ATGroups: option above is exposed in SetTabOption()

2018.08.13
+ add: ATGroups: added modes "6 vert", "6 horz"

2018.06.05
+ add: TATTabData has new prop TabHideXButton (to hide x for some tabs)
- fix: wrong color of X mark in "flat" mode

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #66 on: August 30, 2018, 06:16:24 pm »
Added event OnTabGetCloseAction.
allows to modify action on X click: activate right tab after closed, or recent tab.

kapibara

  • Sr. Member
  • ****
  • Posts: 490
Re: ATTabs
« Reply #67 on: September 14, 2018, 11:18:04 pm »
You are doing a really good job. Thanks!
Lazarus trunk / fpc 3.0.4 / Debian Stretch 64-bit

Alextp

  • Hero Member
  • *****
  • Posts: 700
    • UVviewsoft
Re: ATTabs
« Reply #68 on: October 30, 2018, 10:49:56 am »

2018.10.30
+ add: animations on tab add/close, which are controlled by new props:
    OptAnimationEnabled
    OptAnimationStepVert
    OptAnimationStepHorz
    OptAnimationPause
   
animation is off by default, because it slows down CudaText and other apps maybe.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus