|
| How to deny execution of standard window event. |
| Iniciado por PETR_K, 23,jun. 2016 09:32 - No hay respuesta |
| |
| | | |
|
| |
Miembro registrado 71 mensajes |
|
| Publicado el 23,junio 2016 - 09:32 |
Hello,
I use dynamic tabs and even when it is grayed I am able to click on NEW/DELETE icons. It looks like there really is a bug, I reported it to PCSOFT and they passed it to developers.
Question is how to create some workaround, when user clicks on it nothing should happen in "Creating a pane" or "Closing a pane" events.
I have following code in "Creating a pane in TAB_Version" event. Testing if TAB_Version is grayed works fine and my procedure NewPane() is not run BUT new pane is created anyway in the moment when program leaves this event. I tried to use _EVE.Return = 0 which works for me in some other situations but not in this one.
IF TAB_Version..grayed = False THEN NewPane() _EVE.Return = 0
I would like to use some solution also in other situations not only in this one so I hope somebody will help.
I will appreciate any hint.
Thank you
Petr |
| |
| |
| | | |
|
| | | | |
| | |
|