View previous topic :: View next topic |
Author |
Message |
LaBero
Joined: 05 Sep 2006 Posts: 2
|
Posted: Fri Jan 11, 2008 1:16 pm Post subject: A couple of DFL questions... |
|
|
Greetings...
I would like to override the minimize function of a Form, so that I can minimize Forms into the system tray. I've look at the documentation but I can't find any onMinimize or similar methods. Is there a better way to do it?
The second problem that I have is that I've tried to use the graphicsbuffer.d in order to create a doublebuffered ListBox, but I can't find a way to still have a userDefined draw method for the listbox.
btw, I'm using DFL 2007-12-06 and Tango 0.99.3.
regards |
|
Back to top |
|
|
lmartin92
Joined: 30 Sep 2007 Posts: 30
|
Posted: Fri Jan 11, 2008 6:13 pm Post subject: |
|
|
Ok I hope you have the latest snapshot
The dBot team has a way of doing it.
We check for the onResize event and in there check if it's minimized and if so put it to tray and if not leave it alone.
May only work with latest version.
Hope this helps.
Also the onResize may not be the correct one but check for functions that are similar. I did not refer to code but to memory and often times memory is not that good:-) _________________ Lester L. Martin II |
|
Back to top |
|
|
lmartin92
Joined: 30 Sep 2007 Posts: 30
|
Posted: Fri Jan 11, 2008 6:13 pm Post subject: |
|
|
Oops I posted the message above twice and can't find a way to undo it _________________ Lester L. Martin II |
|
Back to top |
|
|
LaBero
Joined: 05 Sep 2006 Posts: 2
|
Posted: Mon Jan 14, 2008 3:47 am Post subject: |
|
|
Thanks you very much for the tip!
regards |
|
Back to top |
|
|
|