* * *

Author Topic: [Solved] Moving Tabs with TATTabsPlus  (Read 1071 times)

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 259
[Solved] Moving Tabs with TATTabsPlus
« on: January 09, 2018, 10:49:33 pm »
How can I prevent a user from moving a tab's location in a TATTabsPlus component?
« Last Edit: January 10, 2018, 06:14:21 pm by bobonwhidbey »
Win10 64-bit
Lazarus 1.8.0RC4
FPC 3.0.4 - 32bit

madref

  • Sr. Member
  • ****
  • Posts: 411
  • ..... A day not Laughed is a day not Lived !!
    • Nursing With Humour
Re: Moving Tabs with TATTabsPlus
« Reply #1 on: January 10, 2018, 08:13:39 am »
Just set OptMouseDragEnabled to False
You treat a disease, you win, you lose.
You treat a person and I guarantee you win, no matter the outcome.

Lazarus 1.8.0 / FPC 3.0.4
Mac OS X El Capitan

Alextp

  • Hero Member
  • *****
  • Posts: 543
    • UVviewsoft
Re: Moving Tabs with TATTabsPlus
« Reply #2 on: January 10, 2018, 09:46:42 am »
Why "plus". Component named as TATTabs.

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 259
Re: Moving Tabs with TATTabsPlus
« Reply #3 on: January 10, 2018, 06:14:04 pm »
Thank you Alextp and madef.  TATTabsPlus has many more options than TATTabs.  TATTabsPlus does not have a OptMouseDragEnabled property; however, I could see what was going on in the TATTabs component with that OptMouseDragEnabled property and found two similar properties in the TATTabsPlus component named TabDragEnabled and TabDragOutEnabled. I set both of those to false and all is well.
Win10 64-bit
Lazarus 1.8.0RC4
FPC 3.0.4 - 32bit

madref

  • Sr. Member
  • ****
  • Posts: 411
  • ..... A day not Laughed is a day not Lived !!
    • Nursing With Humour
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #4 on: January 10, 2018, 06:33:05 pm »
Where did you download this component?
You treat a disease, you win, you lose.
You treat a person and I guarantee you win, no matter the outcome.

Lazarus 1.8.0 / FPC 3.0.4
Mac OS X El Capitan

Alextp

  • Hero Member
  • *****
  • Posts: 543
    • UVviewsoft
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #5 on: January 10, 2018, 07:12:56 pm »
I wrote ATTabs, it is surprise! that ATTabsPlus exists. Where to get it?

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 259
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #6 on: January 10, 2018, 07:44:59 pm »
I wish I knew!!  It has about 50% fewer lines (1725) than yours. Both ATTabs and ATTabsPlus show a create date on my computer of December 5, 2017.  It looks like a lot of work was done on yours on 11-20 while a lot of work on ATTabsPlus was done on 11-13.

I've attached the files I have
« Last Edit: January 10, 2018, 07:47:41 pm by bobonwhidbey »
Win10 64-bit
Lazarus 1.8.0RC4
FPC 3.0.4 - 32bit

madref

  • Sr. Member
  • ****
  • Posts: 411
  • ..... A day not Laughed is a day not Lived !!
    • Nursing With Humour
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #7 on: January 10, 2018, 07:48:05 pm »
can't you post it here as a zip file?
or somewhere else as a download?
You treat a disease, you win, you lose.
You treat a person and I guarantee you win, no matter the outcome.

Lazarus 1.8.0 / FPC 3.0.4
Mac OS X El Capitan

Alextp

  • Hero Member
  • *****
  • Posts: 543
    • UVviewsoft
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #8 on: January 11, 2018, 10:23:20 am »
I don't see why ATTabsPlus is new component, it should not be used IMO, use ATTabs

madref

  • Sr. Member
  • ****
  • Posts: 411
  • ..... A day not Laughed is a day not Lived !!
    • Nursing With Humour
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #9 on: January 11, 2018, 05:40:42 pm »
I don't see why ATTabsPlus is new component, it should not be used IMO, use ATTabs
Do you see any difference? Is it better or just a clone of your previous work?
You treat a disease, you win, you lose.
You treat a person and I guarantee you win, no matter the outcome.

Lazarus 1.8.0 / FPC 3.0.4
Mac OS X El Capitan

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 259
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #10 on: January 11, 2018, 05:43:50 pm »
I'll get back later. I only know that "Plus" is half the size so I assume that TATTabs has many more features and is better.
Win10 64-bit
Lazarus 1.8.0RC4
FPC 3.0.4 - 32bit

Alextp

  • Hero Member
  • *****
  • Posts: 543
    • UVviewsoft
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #11 on: January 11, 2018, 06:48:31 pm »
I cannot compare new ATTabs with old ATTabsPlus [based on very old code, begin +end of file is the same as in ATTabs]

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 259
Re: [Solved] Moving Tabs with TATTabsPlus
« Reply #12 on: January 12, 2018, 01:07:01 am »
ATTabs is clearly superior to ATTabsPlus in every way that I can tell. I still don't know how I stumbled upon Plus, and sure wish I hadn't.

Great job on the tab component Alextp.
Win10 64-bit
Lazarus 1.8.0RC4
FPC 3.0.4 - 32bit

 

Recent

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