Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29273 Discussions

Tab Stops in Dialog List Box Properties

wiland
Beginner
580 Views
In the Styles tab of the Dialog List Box Properties is an optionthat allows using tabstops in strings that are written to the list box. The description in "Help" states:
Use tabstops - Allows a list box to recognize and expand tab characters when drawing its strings. The default tab positions are 32 dialog box units (DLUs). Type: Bool. Default: False.
Can anyone tell me how to change the default tab positions? Is there some Dialog control that does this?
Bruce
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
580 Views
You have to send it LB_SETTABSTOPS message. See herefor an example. Note that you will have to experiment a little with values of tab stop positions as they're expressed in DLU-s; best, use char(9)//"|"//char(9)//"|"... as a test string.
Jugoslav
0 Kudos
wiland
Beginner
580 Views
Thanks Jugoslav. It worked great.
Bruce
0 Kudos
Reply