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
Responder
Avatar de Usuario
Hurricane
Mensajes: 262
Registrado: Mar Mar 24, 2015 10:21 am
Ubicación: Brasil
Contactar:

BUG(?) - TMaskEdit:OnExit x Treeview

Mensaje por 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.})
Developments | Trainings | Projects
Site | E-mail | Messenger | YouTube
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

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

Mensaje por jfgimenez »

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
Responder