PDA

Click to See Complete Forum and Search --> : HELP ME!! TEXTBOX(alignment property for VB6)


MASTER ANDREW
Nov 21st, 1999, 01:47 PM
I've been using the alignment property of the TEXTBOX control because i needed to enter in currency figures. I had to assign it a right-justified value. i never had any problems when i was using NT workstation as my environment. When i transferred to windows 95, the alignment property wasn't working anymore. Why is this so? Is this a VB6 bug. Is there a solution to this problem? I am currently developing a system for a big bank here in tokyo and i need to solve this alignment problem by next week.
please help me. . . . . thanks.

Aaron Young
Nov 22nd, 1999, 11:11 AM
Microsoft have an article about this on their site HERE (http://support.microsoft.com/support/kb/articles/Q195/6/31.ASP) it would seem the effect is by design and to do with the Class on which the Textbox is based being derieved from the OS, the only workable solution they offer is to set the Multiline Property to True, this causes the Control to Enforce the Alignment Setting.

------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net