Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Announcements
»
Third party
»
Eye Candy Controls
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
FAQ
Wiki
Bugtracker
Packages
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
Search
Advanced search
« previous
next »
Print
Pages:
1
2
[
3
]
Author
Topic: Eye Candy Controls (Read 17021 times)
CM630
Hero Member
Posts: 801
Не съм сигурен, че те разбирам.
Re: Eye Candy Controls
«
Reply #30 on:
November 06, 2017, 09:47:47 am »
So the issue remains- is there a way to temporary block firing of
OnChange
and
OnChanging
after user I closes a tab from the close button?
When an user is
not
changing the tabs manually I must not execute the routines in
OnChanging
.
Edit: I tried to set etoCloseBtn to True, and etoClosable to False with the idea that this way I would have a close button, but Close won't happen when the button is clicked. But this way no button is shown.
Edit1: The code below does not prevent tabs from closing neither.
Code: Pascal
[Select]
procedure
TForm1
.
ECTabCtrl1CloseQuery
(
Sender
:
TObject
;
AIndex
:
Integer
;
var
CanClose
:
Boolean
)
;
begin
canclose
:
=
false
;
end
;
«
Last Edit: April 11, 2018, 03:33:23 pm by CM630
»
Logged
Лазар 1,8,0;W7 64bit or XP 32bit;FPC3,0,4;rev 56594
CM630
Hero Member
Posts: 801
Не съм сигурен, че те разбирам.
Re: Eye Candy Controls
«
Reply #31 on:
November 15, 2017, 11:33:11 am »
While trying unsuccesfully to handle the aforementioned issue, I found another bug, seems quite serious to me:
Create a new tab control, add two tabs, set then to etoCloseable and etoCloseButtons, add ShowMessage ('ECTabCtrl1CloseTabClicked'); in ECTabCtrl1CloseTabClicked.
Execute the app, press a close button- a message box is shown and after it gets closed an exception is generated. A sample project is attached.
Logged
Лазар 1,8,0;W7 64bit or XP 32bit;FPC3,0,4;rev 56594
Blaazen
Hero Member
Posts: 2510
POKE 54296,15
Re: Eye Candy Controls
«
Reply #32 on:
December 19, 2017, 06:45:23 pm »
Hi, thanks for reports. I'm bussy now but I watch this thread. I'm working on new release.
Logged
Lazarus 1.9.0 r57500 FPC 3.0.4 x86_64-linux-qt Chakra, Qt 4.8.7, Plasma 5.11.4
Lazarus 1.8.0 r56594 FPC 3.0.4 i386-win32-win32/win64 Wine 3.2
Try Eye-Candy Controls:
https://sourceforge.net/projects/eccontrols/files/
scons
Full Member
Posts: 124
Re: Eye Candy Controls
«
Reply #33 on:
January 13, 2018, 06:09:30 pm »
Is there a way to control following :
TECImageMenu
: When clicked on a menu item, the background of that item becomes blue, can this be set to antoher tone of blue ? (default is a bit too dark compared to the rest of a theme)
TECAccordion
: When chosen "button"-style, same as above, can the colors (selected and not selected) be set to another color ?
TECAccordion
: Is there a mouse-over or "hover" color-setting available in that same "button"-style ?
Nice components btw
Logged
Windows 10-64bit Lazarus 1.8.2 + FPC 3.0.4
Blaazen
Hero Member
Posts: 2510
POKE 54296,15
Re: Eye Candy Controls
«
Reply #34 on:
January 13, 2018, 10:04:18 pm »
TECImageMenu - it uses default theme color (or at least it should on all patforms) - clHighlight, it is not configurable now.
TECAccordion - no, it is painted via Themes unit and it does not support colors, only default theme; colors can be changed only for "Gradient"
not a good news
Logged
Lazarus 1.9.0 r57500 FPC 3.0.4 x86_64-linux-qt Chakra, Qt 4.8.7, Plasma 5.11.4
Lazarus 1.8.0 r56594 FPC 3.0.4 i386-win32-win32/win64 Wine 3.2
Try Eye-Candy Controls:
https://sourceforge.net/projects/eccontrols/files/
CM630
Hero Member
Posts: 801
Не съм сигурен, че те разбирам.
Re: Eye Candy Controls
«
Reply #35 on:
February 02, 2018, 09:34:52 am »
Quote from: Blaazen on December 19, 2017, 06:45:23 pm
Hi, thanks for reports. I'm bussy now but I watch this thread. I'm working on new release.
Thanks, when doing it, could you also add an „etcoDoubleClickClose‟ option to TECTabsCtrl?
Also, I am not much happy with the red background of the tab close button, could something be done with it?
Logged
Лазар 1,8,0;W7 64bit or XP 32bit;FPC3,0,4;rev 56594
CM630
Hero Member
Posts: 801
Не съм сигурен, че те разбирам.
Re: Eye Candy Controls
«
Reply #36 on:
April 11, 2018, 12:20:24 pm »
Quote from: Blaazen on December 19, 2017, 06:45:23 pm
Hi, thanks for reports. I'm bussy now but I watch this thread. I'm working on new release.
Hi, I wonder if any of the issues are solved in
https://forum.lazarus.freepascal.org/index.php/topic,40405.0.html
?
I saw nothing like that in the change log?
Logged
Лазар 1,8,0;W7 64bit or XP 32bit;FPC3,0,4;rev 56594
Blaazen
Hero Member
Posts: 2510
POKE 54296,15
Re: Eye Candy Controls
«
Reply #37 on:
April 11, 2018, 12:45:34 pm »
I somewhat forget this, so
etcoDoubleClickClose: can be implemented
red icon for closing the tab: I can add property CloseIndex where images will be taken from ImageList.
OnChange: I will probably add also an options for this, default will be current behav. to prevent breaking of existing code.
I will carefully read again this thread and test.
Note: I already replaced MouseEntered (deprecated) with MouseInClient, so the next release won't work on 1.8.2 (unless you patch it).
Logged
Lazarus 1.9.0 r57500 FPC 3.0.4 x86_64-linux-qt Chakra, Qt 4.8.7, Plasma 5.11.4
Lazarus 1.8.0 r56594 FPC 3.0.4 i386-win32-win32/win64 Wine 3.2
Try Eye-Candy Controls:
https://sourceforge.net/projects/eccontrols/files/
Print
Pages:
1
2
[
3
]
« previous
next »
Lazarus
»
Announcements
»
Third party
»
Eye Candy Controls
Recent
The meaning of %s
by
nikel
[
Today
at 10:39:53 am]
Version 2.3.0 of IBX for ...
by
tonyw
[
Today
at 10:23:55 am]
Using multiple foreign ke...
by
valdir.marcos
[
Today
at 10:06:55 am]
Is possible use Synedit w...
by
valdir.marcos
[
Today
at 09:38:55 am]
Help issues... confirm an...
by
serbod
[
Today
at 09:02:49 am]
Why ListView show this bo...
by
tianya
[
Today
at 08:42:26 am]
Visual Pascal Community E...
by
taazz
[
Today
at 08:09:08 am]
howto associate my custom...
by
RAW
[
Today
at 05:41:02 am]
Resurrecting old janSQL l...
by
scons
[
Today
at 04:51:43 am]
Very unimportant, small r...
by
darksky666
[
Today
at 04:36:05 am]