var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Right-Align Listbox in Access 2002 ???
There's no "TextAlign" property anymore, and even in form design mode, you cannot set the text alignment.
I tried using the GetWindowLong API call for the ListBox control:
hWnd = GetFocus 'API call, returns handle of control with focus
l = GetWindowLong(hWnd, GWL_EXSTYLE)
This returns 0 !!! Why? If I use the "Window Spy" utility, it tells me that the extended style has WS_EX_LEFT, WS_EX_LEFTSCROLLBAR...
And furthermore, I canot set the value anew with "SetWindowLong". It has no effect.
Does anybody know how to make a listbox right aligned?