- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Jugoslav. It worked great.
Bruce

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page