Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Alternativa to AddHandlerOnEnableChanged

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

Hi,

I use the AddHandlerOnVisibleChanged well
(http://lazarus-ccr.sourceforge.net/docs/lcl/controls/tcontrol.addhandleronvisiblechanged.html). So, exists something compatible to "Enabled"? It would be a "AddHandlerOnEnableChanged".

I wanted to use AddHandler method, but the HandlerType parameter is TControlHandlerType, that has only chtOnResize, chtOnChangeBounds, chtOnVisibleChanging, chtOnVisibleChanged and chtOnKeyDown, nothing to Enabled. :(

Thx.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

zeljko
to silvioprog
silvioprog wrote 12 lines
Hi, I use the AddHandlerOnVisibleChanged well (http://lazarus-ccr.sourceforge.net/docs/lcl/controls/tcontrol.addhandleron visiblechanged.html). So, exists something compatible to "Enabled"? It would be a "AddHandlerOnEnableChanged". I wanted to use AddHandler method, but the HandlerType parameter is TControlHandlerType, that has only chtOnResize, chtOnChangeBounds, chtOnVisibleChanging, chtOnVisibleChanged and chtOnKeyDown, nothing to Enabled. :(

Open an issue about it so we won't forget about this feature.

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110919/194ff807/attachment.html>

Reply by email

silvioprog
to zeljko

2011/9/19 zeljko :

Show quoted text 16 lines
On Sunday 18 of September 2011 22:03:31 silvioprog wrote: > Hi, > > I use the AddHandlerOnVisibleChanged well > > (http://lazarus-ccr.sourceforge.net/docs/lcl/controls/tcontrol.addhandleron > visiblechanged.html). So, exists something compatible to "Enabled"? It > would be a > "AddHandlerOnEnableChanged". > > I wanted to use AddHandler method, but the HandlerType parameter is > TControlHandlerType, that has only chtOnResize, chtOnChangeBounds, > chtOnVisibleChanging, chtOnVisibleChanged and chtOnKeyDown, nothing > to Enabled. :( Open an issue about it so we won't forget about this feature. zeljko

Thanks zeljko, reported (with patchs):

http://bugs.freepascal.org/view.php?id=20300

Thx.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

silvioprog
to silvioprog

2011/9/19 silvioprog :

Show quoted text 23 lines
2011/9/19 zeljko : > On Sunday 18 of September 2011 22:03:31 silvioprog wrote: >> Hi, >> >> I use the AddHandlerOnVisibleChanged well >> >> (http://lazarus-ccr.sourceforge.net/docs/lcl/controls/tcontrol.addhandleron >> visiblechanged.html). So, exists something compatible to "Enabled"? It >> would be a >> "AddHandlerOnEnableChanged". >> >> I wanted to use AddHandler method, but the HandlerType parameter is >> TControlHandlerType, that has only chtOnResize, chtOnChangeBounds, >> chtOnVisibleChanging, chtOnVisibleChanged and chtOnKeyDown, nothing >> to Enabled. :( > Open an issue about it so we won't forget about this feature. > zeljko Thanks zeljko, reported (with patchs): http://bugs.freepascal.org/view.php?id=20300 Thx.

Please do not listen to the Robson Dantas, he is a person making intrigues in several channels of Lazarus in Brazil.

Thx.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email