I program in Hebrew, so I want the tabs on the top panel of TTabControl to be displayed from right to left. The BiDiMode property does not affect the tabs, but rather the text contained in the control.
I tried the following code
SetWindowLong (tc.Handle, GWL_EXSTYLE,
GetWindowLong(tc.Handle, GWL_EXSTYLE) or
WS_EX_LAYOUTRTL or WS_EX_NOINHERITLAYOUT);
which correctly displays tabs, but prevents the appearance of controls inside ttabcontrol, and therefore its use is somewhat limited.
Any ideas? By the way, I am using Delphi 7.
TIA, No'am
source
share