Recent

Author Topic: ATTabs  (Read 51310 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: ATTabs
« Reply #75 on: February 22, 2019, 09:53:08 am »

2019.02.17
+ add: option for rounded X mark on mouse-over OptShowXRounded

2018.12.28
- fix: flickering of hints when mouse moves over x,<,> buttons

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: ATTabs
« Reply #76 on: June 15, 2019, 01:53:15 pm »
Quote
2019.06.15
+ add: OptSpaceSeparator

2019.06.14
+ add: OptButtonLayout allows chars "|" (separator) and "_" (space)
+ add: OptButtonSizeSpace
+ add: OptButtonSizeSeparator
+ add: TabMenuExternal (TPopupMenu)
* removed support for TNT Controls

2019.06.07
+ add: ParentColor

2019.06.06
+ add: property OptShowFlatMouseOver
+ add: changes in design-time are applied immediately

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: ATTabs
« Reply #77 on: December 21, 2019, 07:00:21 pm »
Anyone know how to set the inactive tab font color?  I can't seem to find a property for that.
Using the latest version from the repository.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: ATTabs
« Reply #78 on: December 25, 2019, 07:12:21 am »
@snorkel
Seems it's possible, did you try these props?

Code: Pascal  [Select][+][-]
  1.     property ColorFont: TColor read FColorFont write FColorFont default _InitTabColorFont;
  2.     property ColorFontModified: TColor read FColorFontModified write FColorFontModified default _InitTabColorFontModified;
  3.     property ColorFontActive: TColor read FColorFontActive write FColorFontActive default _InitTabColorFontActive;
  4.     property ColorFontHot: TColor read FColorFontHot write FColorFontHot default _InitTabColorFontHot;
  5.  

Proof
« Last Edit: December 25, 2019, 07:15:49 am by Alextp »

sash

  • Sr. Member
  • ****
  • Posts: 366
Re: ATTabs
« Reply #79 on: December 25, 2019, 01:05:08 pm »
Code: Pascal  [Select][+][-]
  1.     property ColorFont: TColor read FColorFont write FColorFont default _InitTabColorFont;
  2.     property ColorFontModified: TColor read FColorFontModified write FColorFontModified default _InitTabColorFontModified;
  3.     property ColorFontActive: TColor read FColorFontActive write FColorFontActive default _InitTabColorFontActive;
  4.     property ColorFontHot: TColor read FColorFontHot write FColorFontHot default _InitTabColorFontHot;
  5.  


With all respect, but IMO such properties (of type TColor) should be named something like ModifiedFontColor, because to me (I may be wrong, English is not my native language) "ColorFontModified" sounds like "Colored Font has been Modified".
Lazarus 2.0.10 FPC 3.2.0 x86_64-linux-gtk2 @ Ubuntu 20.04 XFCE

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: ATTabs
« Reply #80 on: December 26, 2019, 09:27:30 am »
I like nice prefixes, so I made Color* prefixes, like for example I did in ATSynEdit - OptNNNNNN.

aducom

  • Full Member
  • ***
  • Posts: 155
    • http://www.aducom.com
Re: ATTabs
« Reply #81 on: December 26, 2019, 10:22:53 am »
And the properties come together in the property editor, instead of scrolling around to get them set.

Ericktux

  • Sr. Member
  • ****
  • Posts: 345
Re: ATTabs
« Reply #82 on: November 06, 2020, 04:43:08 pm »
hello friend, excellent job.  :)
Please where can I find the latest version with examples.

Cheers.

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: ATTabs
« Reply #83 on: November 06, 2020, 05:17:21 pm »

Ericktux

  • Sr. Member
  • ****
  • Posts: 345
Re: ATTabs
« Reply #84 on: November 07, 2020, 02:36:47 am »
Thank you very much friend, I am going to review it and try it and any questions I will ask for your help.

Cheers.  :)

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 590
    • Double Dummy Solver - free download
ATTAbs problem with high res screen
« Reply #85 on: October 29, 2021, 09:19:28 pm »
My app is using the latest version of ATTabs - just downloaded today from GitHub. It is working beautifully on most computers. One user has a laptop with 3840 x 2400 screen resolution and the font used to print the tabs is gigantic, and unreadable. See the attached picture. I'm guessing this has something to do with the screen resolution.

Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: ATTAbs problem with high res screen
« Reply #86 on: October 29, 2021, 10:31:56 pm »
Hello.
Did you try to change TFont.PixelsPerInch, for the Font property? ATTabs has the Font property.

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 590
    • Double Dummy Solver - free download
Re: ATTAbs problem with high res screen
« Reply #87 on: October 29, 2021, 11:07:18 pm »
This didn't change anything. I put this in the FormCreate procedure.

  Tab1.Font.PixelsPerInch := Screen.PixelsPerInch;
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: ATTAbs problem with high res screen
« Reply #88 on: October 30, 2021, 12:23:35 am »
You have the Font prop, and can change Font.Size and Font.PixelsPerInch (set Size to smaller value, set P.P.I. to lower value).

If you still cannot fix it, give me the compilable demo. Very simple demo.

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 590
    • Double Dummy Solver - free download
Re: ATTAbs problem with high res screen
« Reply #89 on: October 30, 2021, 12:52:08 am »
Do you mean use this approach in FormCreate to minimize the size?

  Tab1.Font.PixelsPerInch := Screen.PixelsPerInch;
  Tab1.Font.Size := Round(Tab1.Font.Size*96/Screen.PixelsPerInch);
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

 

TinyPortal © 2005-2018