Recent

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

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 #15 on: July 14, 2020, 11:50:45 pm »
Widgetset = Cocoa
Range checking error and/or duplicate something.... (sorry forgot)
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

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #16 on: July 15, 2020, 09:05:43 am »
In controls.pp defined:
  ssModifier = {$if defined(darwin) or defined(macos) or defined(iphonesim)} ssMeta {$else} ssCtrl {$endif};

This
Code: Pascal  [Select][+][-]
  1. [ssModifier, ssAlt, ssMeta]
Should be
Code: Pascal  [Select][+][-]
  1. [ssModifier, ssAlt]

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 #17 on: July 15, 2020, 11:25:43 am »
Thanks.... now it works
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

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #18 on: December 31, 2020, 02:38:41 am »
Hi

Juat updated trunk to svn 64310

ecdesigntime.pas(543,78) Error: Incompatible type for arg no. 1: Got "<procedure variable type of procedure(const TPersistentSelectionList) of object;Register>", expected "<procedure variable type of procedure(TPersistentSelectionList) of object;Register>"

The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #19 on: December 31, 2020, 03:13:15 am »
This is from https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/ideintf/propedits.pp?root=lazarus&r1=64300&r2=64299&pathrev=64300

It can solved by removing const in ECDesignTime (both declaration and implementation):

Code: Pascal  [Select][+][-]
  1. { THookAccItemSelection }
  2.   THookAccItemSelection = class
  3.   protected
  4.     procedure HookSelection({const} ASelection: TPersistentSelectionList);
  5.   end;

However, is it a solution? I guess there are more affected packages which won't compile now.
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/

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #20 on: December 31, 2020, 11:32:13 am »
However, is it a solution? I guess there are more affected packages which won't compile now.
Oh boy, is it commonly used in 3rd party packages?
In that case the "const" maybe should be restored. I only went through the packages under Lazarus repo.

[Edit] I restored the "const" in r64312. Sorry for the hassle.
« Last Edit: December 31, 2020, 12:00:29 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #21 on: December 31, 2020, 05:47:54 pm »
Thanks. I have no clue how often it is used. I remember that some four years ago I was looking for help on ML: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Detect-that-component-selected-in-OI-td4048630.html and Ondrej recommende me this solution.
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/

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #22 on: December 31, 2020, 06:21:16 pm »
Re-tested on trunk svn rev 64313.

Everything back to normal.

Thanks for rapid response and fix
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #23 on: December 31, 2020, 06:38:41 pm »
Good!
Talking about OI, you may want to test the latest improvement. The component TreeView now remembers its expanded / collapsed state for different designer forms when you switch between them.
It works rather well. :)
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

speter

  • Sr. Member
  • ****
  • Posts: 345
Re: ANN: Eye-Candy Controls 0.9.44
« Reply #24 on: May 22, 2021, 06:34:48 am »
I am using the TECLightView component (from Eye-Candy Controls) and am wondering if it is possible to "escape" the control codes.

For example if I have
Code: Pascal  [Select][+][-]
  1. ECLightView1.textdata := '%f10\some text';

The "%f10\" is used as a command (in this case setting the font size); but what do I do if I want to display the text "%f". I tried using "%%f" and "\%f"; but neither worked for me.

cheers
S.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

 

TinyPortal © 2005-2018