Recent

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

madref

  • Hero Member
  • *****
  • Posts: 842
  • ..... 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 Trunc.git [R65477] / FPC Trunc.git [3.2.2]
Mac OS X Big Sur

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1464
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: 842
  • ..... 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 Trunc.git [R65477] / FPC Trunc.git [3.2.2]
Mac OS X Big Sur

josh

  • Hero Member
  • *****
  • Posts: 817
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>"

Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

Blaazen

  • Hero Member
  • *****
  • Posts: 3034
  • 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.1.0 r64546 FPC 3.3.1 r40507 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: 3935
  • 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: 3034
  • 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.1.0 r64546 FPC 3.3.1 r40507 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: 817
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
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3935
  • 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

  • Full Member
  • ***
  • Posts: 216
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. :)

Laz 2.0.10 / FPC 3.2.0 / Windows 10 (64bit)

 

TinyPortal © 2005-2018