Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

textalign changes when seting rowsource from code

Status
Not open for further replies.

tango1948

Programmer
Dec 23, 2006
111
IL
Hi,
I have a listbox with textalign = right.
when the form loads with the listbox rowsource set the text is (right) aligned correctly.
If I use the afterupdate event from a combobox to set the rowsource value the textbox comes out lef taligned, I've tried setting the textalign=3 in code but it doesn't help.
Any suggestions how to keep the listbox text right aligned.

Thanks for any help

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top