Page 1 of 1

BUG(?) - TMaskEdit:OnExit x Treeview

Posted: Tue Apr 17, 2018 5:44 pm
by Hurricane
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.})

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

Posted: Sun Apr 22, 2018 4:20 pm
by jfgimenez

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.