Alan Yaniger wrote:
Question 1:
To align the names in the function list, I added following to
ScFuncPage::UpdateFunctionList() :
if (ScGlobal::IsSystemRTL())
aLbFunction.EnableMirroring( );
Is this the best way to do it?
That would mean double mirroring, the flag wasn't intended to be used
that way. The intended way to prevent mirroring is EnableRTL, but it
would have to be called for the children of the list box, so maybe the
ListBox should have an extra method.
If you do use EnableMirroring, you should use
GetSettings().GetLayoutRTL() instead of ScGlobal::IsSystemRTL(), to
match VCL's configuration handling.
But above all: Is there general consensus about mirroring a single
control, including its scroll bar? What would you do with other list
boxes that can contain English entries, or even mixed ones? Somehow,
this doesn't seem right.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]