04-11-2007 08:17 PM
04-11-2007 11:55 PM
Vertical alignment in a text box can be a pain if you are using a proportional font but it becomes easier if you switch it to a fixed font since all the matter reduces to adding a correct number of spaces between strings.
But since you need to modify all of your software to accomodate the strings, I would consider moving to a listbox that is more elegant: better alignment and the possibility to green/red coloured text to make test resukts more evident.
04-12-2007 01:04 PM
04-12-2007 02:29 PM
04-12-2007 04:21 PM
I don't think that it is the case that all TrueType fonts are proportional, although most are. My short list would be Courier New, Lucida Console, and (if you have Office 2007) Consolas. These are all TrueType fonts.
Beware of missing fonts on target machines if you distribute your app. You can include them in the distribution kit, if needed, and if copyright allows.
Though I have not checked it, the CVI IDE seems to list only proportional fonts (some TrueType, some not) as editor options; maybe that will help you find one to use. See attached screenshot. Note that NIEditor on most machines will map to "Courier" (a non-TrueType font).
--Ian
04-15-2007 07:09 AM
04-15-2007 03:21 PM