Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
[SOLVED] Why Tab event DrawTab is not firing?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
insert select from - with...
by
Nicole
[
Today
at 11:39:34 am]
FpDebug breakpoint on "be...
by
YiannisKam
[
Today
at 11:30:25 am]
Database standards OR Am ...
by
TRon
[
Today
at 11:28:02 am]
Access violation when ope...
by
TRon
[
Today
at 11:24:35 am]
How to: create DLL file f...
by
paule32
[
Today
at 11:17:12 am]
Offical launch of the 1 B...
by
Gustavo 'Gus' Carreno
[
Today
at 11:14:40 am]
Registers dialog - regist...
by
Martin_fr
[
Today
at 11:10:13 am]
Forum slow
by
TRon
[
Today
at 10:57:09 am]
HeapTrc not showing line ...
by
Martin_fr
[
Today
at 10:40:33 am]
Step-into the field sette...
by
ginoo
[
Today
at 07:50:24 am]
Does anyone know why thes...
by
TYDQ
[
Today
at 05:24:32 am]
Arabic text, problem on L...
by
Zaher
[
Today
at 03:29:16 am]
InstallAware Using Lazaru...
by
TRon
[
Today
at 02:55:41 am]
Generics - correct syntax
by
Blaazen
[
Today
at 01:57:40 am]
Demoscene The Champs Crac...
by
Gigatron
[
Today
at 01:05:16 am]
How to use the Event Log?
by
n7800
[
Today
at 12:47:25 am]
v3.99 code completion que...
by
440bx
[
Today
at 12:45:55 am]
Access violation when re-...
by
TRon
[April 19, 2024, 11:44:51 pm]
[solved] how to get class...
by
jamie
[April 19, 2024, 11:34:44 pm]
Lazarus for Windows on aa...
by
Wallaby
[April 19, 2024, 10:52:25 pm]
Poll: Watches and Display...
by
440bx
[April 19, 2024, 07:13:51 pm]
Who is Indy mattias?
by
paweld
[April 19, 2024, 04:17:53 pm]
I just released a commerc...
by
BrassGear
[April 19, 2024, 03:17:28 pm]
A fairly simple sound sol...
by
paweld
[April 19, 2024, 01:46:11 pm]
AI, NLP and CAI: Text Gen...
by
Dzandaa
[April 19, 2024, 11:03:26 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Why Tab event DrawTab is not firing? (Read 3199 times)
Awesome Programmer
Sr. Member
Posts: 451
Programming is FUN only when it works :)
[SOLVED] Why Tab event DrawTab is not firing?
«
on:
August 15, 2014, 04:26:42 pm »
I don't understand why tab event drawtab is not firing? I put a break on it, but it won't break at the breakpoint.
I am using Lazarus 1.0.12 and fpc 2.6.2 on Linux OS.
«
Last Edit: August 22, 2014, 10:08:10 pm by reltek
»
Logged
http://cool-technology.blogspot.com
howardpc
Hero Member
Posts: 4144
Re: Why Tab event DrawTab is not firing?
«
Reply #1 on:
August 15, 2014, 08:45:41 pm »
If you are referring to the OnDrawTab event of TTabControl then I don't think it is ever called. It is a placeholder for owner-draw capability that has not been implemented AFAIK.
The Lazarus TPageControl lacks owner-draw functionality as well.
Logged
Awesome Programmer
Sr. Member
Posts: 451
Programming is FUN only when it works :)
Re: Why Tab event DrawTab is not firing?
«
Reply #2 on:
August 15, 2014, 08:52:30 pm »
Is there any workaround for this? maybe other using some other tools?
Logged
http://cool-technology.blogspot.com
howardpc
Hero Member
Posts: 4144
Re: Why Tab event DrawTab is not firing?
«
Reply #3 on:
August 15, 2014, 10:47:56 pm »
You could try the customdrawn package which is distributed with Lazarus (but not installed in the IDE by default because it is under development), which is completely custom drawn. Its TCDPageControl offers 3 events (OnChange, OnChanging, OnUserAddedPage).
Alex22 has also written an anti-aliased custom-drawn pagecontrol, see
http://forum.lazarus.freepascal.org/index.php/topic,24666.msg148964.html#msg148964
Anyway, what are you actually wanting to do? It may be possible with the Lazarus TPageControl.
Logged
Awesome Programmer
Sr. Member
Posts: 451
Programming is FUN only when it works :)
Re: Why Tab event DrawTab is not firing?
«
Reply #4 on:
August 22, 2014, 04:57:26 pm »
Thank you Howard, but I found something else. Its is called ATTAbs component. It works on Windows and Linux Lazarus.
Logged
http://cool-technology.blogspot.com
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
[SOLVED] Why Tab event DrawTab is not firing?
TinyPortal
© 2005-2018