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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Size of Listbox changes when run with Win NT

Status
Not open for further replies.

ThinLizzy

Programmer
May 30, 2002
12
NL
Hello,

My Problem:
I have a word vba project made with Word 97 on Windows 98.
In this project I have made a dialog with some textboxes
comboboxes and Listboxes.

When I installed it on a Windows NT 4.0 system with Word 97,
the listboxes where twice as small. I checked the width of the listboxes and the size was the same as on windows 98.
Also, when I clicked on the combo, the list which was shown is twice as small as the combo it self ????

When it's run on Windows 98 , Windows 2000 everything runs great;
Does anybody has any idee what the ... problem is?

Greatings, ThinLizzy

 
I found a solution for the problem.
I think it was a language differens problem.
I made the program on a dutch windows 98.

In the innitiate event of the form I wrote the
list-With propety of the listboxes in cm.
On win NT I think the standard is inch.
The with propety of Boxes which were not
changed dynamic were converted OK (to pt.)

Not shure if this was the problem but it works
fine now.

Maybe this helps someone with the same problem,

Thanks for al the reactions!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top