In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Closing tabs
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Closing tabs
Hello Xailers!
How can I stop tabs from being close by Ctrl+F4 or where to catch this action?
How can I stop tabs from being close by Ctrl+F4 or where to catch this action?
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Closing tabs
Maarten,
Do you mean inside the IDE? Then I'm afraid is not possible
Maybe I'm missing something, please explain exactly on which controls and on
which conditions are you talking about.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" escribió en el mensaje de
noticias:4cf6176b$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hello Xailers!
How can I stop tabs from being close by Ctrl+F4 or where to
catch this action?
Do you mean inside the IDE? Then I'm afraid is not possible
Maybe I'm missing something, please explain exactly on which controls and on
which conditions are you talking about.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" escribió en el mensaje de
noticias:4cf6176b$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hello Xailers!
How can I stop tabs from being close by Ctrl+F4 or where to
catch this action?
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Closing tabs
Within the TFolder class, you can add a tab, and close it by pressing Ctrl+f4. But the method OnCloseTab will be ignored if the user uses Ctrl+F4 to close the tab
Closing tabs
Maarten,
> Within the TFolder class, you can add a tab, and close it by
> pressing Ctrl+f4. But the method OnCloseTab will be ignored
> if the user uses Ctrl+F4 to close the tab
Xailer doesn't use the Ctrl+F4 key to fire the OnCloseTab event. It's only
fired when the user clicks on the red x in the tab. Surely it's in your
code. We do so also in the IDE code.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> Within the TFolder class, you can add a tab, and close it by
> pressing Ctrl+f4. But the method OnCloseTab will be ignored
> if the user uses Ctrl+F4 to close the tab
Xailer doesn't use the Ctrl+F4 key to fire the OnCloseTab event. It's only
fired when the user clicks on the red x in the tab. Surely it's in your
code. We do so also in the IDE code.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Closing tabs
Maarten,
Ctrl+F4 does not close any folder tab ?????
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" escribió en el mensaje de
noticias:4cf62923$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Within the TFolder class, you can add a tab, and close it by
pressing Ctrl+f4. But the method OnCloseTab will be ignored
if the user uses Ctrl+F4 to close the tab
Ctrl+F4 does not close any folder tab ?????

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" escribió en el mensaje de
noticias:4cf62923$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Within the TFolder class, you can add a tab, and close it by
pressing Ctrl+f4. But the method OnCloseTab will be ignored
if the user uses Ctrl+F4 to close the tab
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Closing tabs
Jose,
Use the example DBFData6 in the DataControls folder. Go to Clientes and press Ctrl+F4. Than you see what is happening.
Use the example DBFData6 in the DataControls folder. Go to Clientes and press Ctrl+F4. Than you see what is happening.
Closing tabs
Maarten,
> Use the example DBFData6 in the DataControls folder. Go to
> Clientes and press Ctrl+F4. Than you see what is
> happening.
See the method WMKeyDown() in FrmFolder.prg from that sample
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> Use the example DBFData6 in the DataControls folder. Go to
> Clientes and press Ctrl+F4. Than you see what is
> happening.
See the method WMKeyDown() in FrmFolder.prg from that sample

--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Closing tabs
You are right...
I found the bad guy! It was a method in frmFolder.prg. Probably an unfinished piece of code of my I have totally forgotten off.
Sorry guys!
I found the bad guy! It was a method in frmFolder.prg. Probably an unfinished piece of code of my I have totally forgotten off.
Sorry guys!