<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>23 Jun 2016 09:32:44 Z</lastBuildDate><pubDate>23 Jun 2016 09:32:44 Z</pubDate><description>Hello,&#13;
&#13;
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.&#13;
&#13;
Question is how to create some workaround, when user clicks on it nothing should happen in "Creating a pane" or "Closing a pane" events.&#13;
&#13;
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.&#13;
&#13;
[code:wl]&#13;
IF TAB_Version..grayed = false THEN NewPane()&#13;
_EVE.Return = 0&#13;
[/code]&#13;
&#13;
I would like to use some solution also in other situations not only in this one so I hope somebody will help.&#13;
&#13;
I will appreciate any hint.&#13;
&#13;
Thank you&#13;
&#13;
Petr</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58273-how-deny-execution-standard-window-event/read.awp</link><title>How to deny execution of standard window event.</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
