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.

TFolder doubt

Xailer professional forum in English
Responder
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TFolder doubt

Mensaje por Roberto »

question 1:
the simbol "&" appears when nOrientation is not Top/Bottom. Is it a bug?
question 2:
When we leave a program and return to it, normally, the control who had the focus continue focused, right? But if this control is inside a TFolder then the first control available in TFolder receives the focus! Is it the normal behavior???
this is all, for now.
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

TFolder doubt

Mensaje por jlalin »

Roberto,
> the simbol "&" appears when nOrientation is not Top/Bottom.
> Is it a bug?
The TFolder control has some native bugs when the orientation is left/right
and we didn't put much efforts to fix them because it behaves different on
each OS.
> When we leave a program and return to it, normally, the
> control who had the focus continue focused, right? But if
> this control is inside a TFolder then the first control
> available in TFolder receives the focus! Is it the normal
> behavior???
If you need it just check which control has the focus before leaving:
oCtl := AScan( oFolder:aItems[nPage]:aControls, {|o| o:lFocused == .T. } )
And restore it later with oCtl:SetFocus()
Regards,
José Lalí­n
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TFolder doubt

Mensaje por Roberto »

Tks, but where it sould be? OnExit? OnChanging? The problem is if I move to another program (word, for example) and turn back to my xailer application (
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

TFolder doubt

Mensaje por jlalin »

Roberto,
I did a test and now I see what you meant... I'm going to check a bit deeper.
Regards,
José Lalí­n
Responder