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
Hurricane
Posts: 85
Joined: Tue Mar 24, 2015 10:21 am
Location: Brasil
Contact:

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, Lazarus, PHP}, ADVPL, SQL, FastReport
Xailer, Fivewin, Hwgui, Minigui, Harbour, Clipper, Corebuilder
Contact: Freelance, Developments, Xailer Training | Facebook Xailer | Downloads
User avatar
jfgimenez
Site Admin
Posts: 5568
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

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

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

Hi,

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]
http://www.xailer.com
http://www.xailer.info

Return to “English”