Combo boxes and regional settings

m0use

Registered User.
Local time
Today, 01:48
Joined
Mar 23, 2004
Messages
23
Hi, I have a problem with regional settings and programming the ColumnWidths of a Combo Box.
The company I work for is located in Europe and normally set the regional settings of Windows to the Metric system. However, users in the UK use Inches instead of Centimeters. In my database i program comboboxes to show a centain number of rows by manipulating the ColumnWidths property.
But when you set the value to: "1,5 cm; 0 cm; 1 cm" it won't work on a machine that uses Inches. Is there a way to check which regional settings a machine has? Then i can use that to fill the property with the right values.
Help would be much appreciated. Thanks, m0use.
 

Users who are viewing this thread

Back
Top Bottom