Recent

Author Topic: ANN: Eye-Candy Controls 0.9.44  (Read 6603 times)

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
ANN: Eye-Candy Controls 0.9.44
« on: June 02, 2020, 02:51:22 am »
New version of Eye Candy Controls is released. You can download it at SourceForge:

https://sourceforge.net/projects/eccontrols/files/ecc_20-06-01_0-9-44/

News:
- added new component TECBitBtn. It is the same as TECSpeedBtn, except it is descendant of TCustomControl, so it can be focused.
- added new component TECLightView. It is a very simple (<1400 lines) control that can display formatted text, links and images. See the bundled demo ECLW.

https://wiki.lazarus.freepascal.org/Eye-Candy_Controls
I will add page for TECLightView with description of all tags as soon as possible.

Other changes was mainly bugfixes and tweeks. Lazarus trunk removes property TCustomComboBox.ReadOnly, this is fixed here. See CHANGELOG.txt bundled in the *.zip for details.

This version was tested with:
Lazarus 2.1.0 r61214:63249M FPC 3.0.4 x86_64-linux-qt
Lazarus 2.1.0 r61214:63249M FPC 3.3.1 x86_64-linux-qt

P.S.: It's more than two years from the last release, shame on me  :o. Future plans are tweaks for hi-DPI desktop.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #1 on: June 02, 2020, 09:07:38 am »
Nice you found the time to update these beauties!
Will test if my old projects still compile with the new version.

Thanks. I always found this one of the most appealing set of extra's and used it even in a commercial app. (industrial controller)
Specialize a type, not a var.

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #2 on: June 02, 2020, 09:15:46 am »
Are the ECC are working with the other widgetsets too (windows, gtk2 ?)
regards
Andreas

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #3 on: June 02, 2020, 09:44:21 am »
Judging by the following text on the Wiki page I'd say yes:

Quote
Their design is based on Themes, therefore their look is very native everywhere, no matter what widgetset you use.

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #4 on: June 02, 2020, 10:56:12 am »
Yes. I use them with GTK2. (But I did not test the new release yet)
Specialize a type, not a var.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #5 on: June 02, 2020, 04:19:17 pm »
I tried some demo to compile with GTK2 and basicly it worked.
I also sometime try to run the controls on Wine (since I have no Windows and no VM). But I didn't deeply tested this release, just a quick look.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #6 on: June 02, 2020, 04:21:21 pm »
It works on GTK2. You are a defensive coder. Everything looks OK here.
Specialize a type, not a var.

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #7 on: June 03, 2020, 02:43:28 pm »
The new version in not in OPM available, because i see only 0.9.30.0 there.

regards
Andreas

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #8 on: June 03, 2020, 04:21:23 pm »
Test is not so well of the ECC.

a) Maybe a great error in user

Place a ECSpinEdit on a form, change the Valueformat to evfTime and DateTimeFormat to hh:nn. If i compile, run and use the Buttons, nothing happens.

I think, the increments are not set correct for a timevalue, but where can i set the increments to a hour, a minute (or a second) ?!

b) I can set Buttons to none in the OI and Lazarus crashes full without a message

----
Lazarus 2.0.9 r63081 FPC 3.2.0 i386-win32-win32/win64
----

Edit:
ad a)
PageSize should be 0.04166666667 (=1/24 = hour)
Increment 0.000694444444 (=1/1440 = minute)
Min 0
Max 1

« Last Edit: June 03, 2020, 04:40:39 pm by af0815 »
regards
Andreas

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #9 on: June 03, 2020, 08:32:02 pm »
ad b) It is nasty. Qt does not crash but yet this is not wanted. I got fix fot it (eceditbtns.pas line 580):
Code: Pascal  [Select][+][-]
  1. published
  2.     property Button: TECSpeedBtnPlus read FButton{ write FButton};
i.e. make the property read only. Next release will have this fixed for all similar components.

And I made wiki for TECLightView meanwhile: https://wiki.lazarus.freepascal.org/TECLightView

I will look at the ECSpinEdit with evfTime and DateTimeFormat to hh:nn.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #10 on: June 03, 2020, 10:11:12 pm »
THX, for the fix.

ad A) I think info in the wiki is okay, i need some time to understood the working oft the parameters for evfTime.
regards
Andreas

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #11 on: June 04, 2020, 02:10:33 am »
In this case you should set:
Buttons.PageSize to 1/24 = 0,041666666666667
Buttons.Increment to 1/(24*60) = 0,000694444444444
Buttons.Min = 0
Buttons.Max = 0,999988425925926 (= 23:59:59) or 0,999305555555556 (= 23:59)
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Bloodbat

  • New Member
  • *
  • Posts: 11
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #12 on: June 22, 2020, 03:22:05 pm »
Thanks for the update to this great control suite :), however TECTabCtrl seems to have a nasty problem: if the control is dropped on a form and etcoAddTabButton is True, the resulting .exe won't run (it crashes with runtime error 210; followed by EObjectCheck Object reference is nil, and followed by EReadError Object reference is nil if executed under a debugger).  If the project is closed and then loaded in the IDE "Error reading ECTabCtrl1.Options: Object reference is nil" is encountered.
While the program can be... well... bruteforced to start if line 3677 "Transparent:=False;" is commented out in ectabctrl.pas the close tab buttons are displayed using the same glyph as the add tab button and the error when loading a project using TECTabCtrl remains; none of this was a problem in 0.9.30
Lazarus 2.1.0; FPC 3.2.0; Win32.

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #13 on: July 14, 2020, 10:10:29 pm »
I get an error trying to install the latest version in line 2458 of ECGrid.pas
Code: Pascal  [Select][+][-]
  1.         if bSelectEd and not EditorMode and not (ecoReadOnly in Columns[Col].Options)
  2.           and not (egoReadOnly in Options) and ((Shift*[ssModifier, ssAlt, ssMeta])=[]) then
  3.           begin
  4.             MakeCellFullyVisible(Col, Row, False);
  5.             DoSelectEditor(Col, True, Key);
  6.           end;


Any suggestions?
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #14 on: July 14, 2020, 10:43:23 pm »
1. What error?
2. What widgetset? I never tested on Carbon nor Cocoa, only Qt4, GTK2 and Wine.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

 

TinyPortal © 2005-2018