Link to home
Start Free TrialLog in
Avatar of Dennis_Treacy
Dennis_TreacyFlag for Australia

asked on

Tab #9 in messagedlg not working in Vista

The code

messagedlg('a' + #9 + 'b', mtInformation, [mbOk], 0);

places a tab space beween 'a' and 'b' when run on Windows XP, but not Vista.

In Vista the 'a' and 'b' are side by side.

Any suggestions on how to get the tab space working in Vista
Avatar of BigRat
BigRat
Flag of France image

This has something to do with the new text rendering system in Vista. Is it absolutely necessary to have a tab, wouldn't a number of spaces be just as effective?
Avatar of Dennis_Treacy

ASKER

The actual code in the application can has a number of rows of information and it need to be aligned
ASKER CERTIFIED SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.