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.
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.
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
TFolder doubt
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
> 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
TFolder doubt
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 (
TFolder doubt
Roberto,
I did a test and now I see what you meant... I'm going to check a bit deeper.
Regards,
José Lalín
I did a test and now I see what you meant... I'm going to check a bit deeper.
Regards,
José Lalín