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.

BUG(?) - TMaskEdit:OnExit x Treeview

Xailer English public forum
User avatar
Posts: 111
Joined: Tue Mar 24, 2015 10:21 am
Location: Brasil

BUG(?) - TMaskEdit:OnExit x Treeview

Postby Hurricane » Tue Apr 17, 2018 5:44 pm

MaskEdit's OnExit (.F.) is running, but does not prevent the click on the Treeview, navigating through the items (changing page in my application), the other controls will not receive focus.

Xailer 4.0.2 and 5.1.1 (Demo)

Simple examples, form:
Treeview (with some items, without any coding)
2 MaskEdits (OnExit: = {|| .f.})
Delphi [x]Harbour + GUI (all) | SQL FastReport
DevClub for Developers
User avatar
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm

Re: BUG(?) - TMaskEdit:OnExit x Treeview

Postby jfgimenez » Sun Apr 22, 2018 4:20 pm


returning .F. from OnExit prevents to change focus to other control. But it does not avoid to click on them with your mouse. Many controls (like buttons) requeres the focus before accepting clicks, but other don't (like toolbar). Probably treeview is in the second group.
José F. Giménez
[Equipo de Xailer / Xailer team]

Return to “English”