inserting tabs into comboboxes 
Author Message
 inserting tabs into comboboxes

I have some data I want to put into a combobox, but I want it formatted so
it looks presentable.  When I insert the tab character into the combo, the
character "|" appears in its place.  Is there a way to get the tab character
inserted or a way to align my data properly on a combobox.

Any assistance would be much appreciated.
Thanks in advance
Cliff

p.s. if replying to me personally, please remove qqq from my email address.



Sat, 04 May 2002 03:00:00 GMT  
 inserting tabs into comboboxes
Cliff,

Try looking up the knowledge base article Q141026. (hope that's right:)
It talks about using Tabs in List boxes.
Might be adaptable to Combo boxes ...?

Les J.

--
Remove 'n_o_s_p_a_m' to respond.

Quote:
> I have some data I want to put into a combobox, but I want it
formatted so
> it looks presentable.  When I insert the tab character into the combo,
the
> character "|" appears in its place.  Is there a way to get the tab
character
> inserted or a way to align my data properly on a combobox.

> Any assistance would be much appreciated.
> Thanks in advance
> Cliff

> p.s. if replying to me personally, please remove qqq from my email
address.



Sat, 04 May 2002 03:00:00 GMT  
 inserting tabs into comboboxes
nope. The list portion of the combo box does not have the LBS_USETABSTOPS
style, and so far as I can tell (and believe me I've tried), the style can
not be applied to the control.

--

Randy Birch, MVP Visual Basic

http://www.mvps.org/vbnet/
http://www.mvps.org/ccrp/

Please correspond only using the newsgroups so all can benefit.


| Cliff,
|
| Try looking up the knowledge base article Q141026. (hope that's right:)
| It talks about using Tabs in List boxes.
| Might be adaptable to Combo boxes ...?
|
| Les J.
|
|
| --
| Remove 'n_o_s_p_a_m' to respond.


| > I have some data I want to put into a combobox, but I want it
| formatted so
| > it looks presentable.  When I insert the tab character into the combo,
| the
| > character "|" appears in its place.  Is there a way to get the tab
| character
| > inserted or a way to align my data properly on a combobox.
| >
| > Any assistance would be much appreciated.
| > Thanks in advance
| > Cliff
| >
| > p.s. if replying to me personally, please remove qqq from my email
| address.
| >
| >
|
|



Sat, 04 May 2002 03:00:00 GMT  
 inserting tabs into comboboxes
Thanks Randy, it's been 3 or 4 months since I last used it ...
too bad the combo box doesn't have that functionality.

Cliff,
Maybe you could think about your project ...
could you use a textbox/listbox combination to simulate a combo?
I make the suggestion because it appears you won't be getting
the combobox to use tab-stops anytime soon, but the listbox
can use tabstops.

Les J.

--
Remove 'n_o_s_p_a_m' to respond.

Quote:
> nope. The list portion of the combo box does not have the
LBS_USETABSTOPS
> style, and so far as I can tell (and believe me I've tried), the style
can
> not be applied to the control.

> --

> Randy Birch, MVP Visual Basic

> http://www.mvps.org/vbnet/
> http://www.mvps.org/ccrp/

> Please correspond only using the newsgroups so all can benefit.


message

> | Cliff,
> |
> | Try looking up the knowledge base article Q141026. (hope that's
right:)
> | It talks about using Tabs in List boxes.
> | Might be adaptable to Combo boxes ...?
> |
> | Les J.
> |
> |
> | --
> | Remove 'n_o_s_p_a_m' to respond.


> | > I have some data I want to put into a combobox, but I want it
> | formatted so
> | > it looks presentable.  When I insert the tab character into the
combo,
> | the
> | > character "|" appears in its place.  Is there a way to get the tab
> | character
> | > inserted or a way to align my data properly on a combobox.
> | >
> | > Any assistance would be much appreciated.
> | > Thanks in advance
> | > Cliff
> | >
> | > p.s. if replying to me personally, please remove qqq from my email
> | address.
> | >
> | >
> |
> |



Sat, 04 May 2002 03:00:00 GMT  
 inserting tabs into comboboxes
If you use proportional font like courier than your task will become much
easier.
If however your spec's do not allow you to do so,
use a grid instead of combo box.
There is more work to make it function nicely, but it is a one time
investment.

Denis Gorshkov
Mobi-Sys Software Group Inc.
Have more than 1 VBP to compile? - Try Visual Make
www.mobi-sys.com


Quote:
> I have some data I want to put into a combobox, but I want it formatted so
> it looks presentable.  When I insert the tab character into the combo, the
> character "|" appears in its place.  Is there a way to get the tab
character
> inserted or a way to align my data properly on a combobox.

> Any assistance would be much appreciated.
> Thanks in advance
> Cliff

> p.s. if replying to me personally, please remove qqq from my email
address.



Sat, 04 May 2002 03:00:00 GMT  
 inserting tabs into comboboxes
Yuo can also use the combobox that comes with MS Forms 2.0 controls.

it is a multicolumn combobox and all you do is set the column property to 2
,  this will give you a combo logicaly divided into two columns and
will give you the tabed effect.  However you have to use chr$(9)  instead of
Tab command.

Quote:

>I have some data I want to put into a combobox, but I want it formatted so
>it looks presentable.  When I insert the tab character into the combo, the
>character "|" appears in its place.  Is there a way to get the tab
character
>inserted or a way to align my data properly on a combobox.

>Any assistance would be much appreciated.
>Thanks in advance
>Cliff

>p.s. if replying to me personally, please remove qqq from my email address.



Sun, 05 May 2002 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Tabbing through comboboxes in Excel

2. how to use tabs in Comboboxes

3. Tabs in ComboBoxes

4. Tabs in Comboboxes

5. Inserting Tab???

6. Displaying 2nd tab of Insert Object dialog box

7. Inserting a tab in a form field

8. SSTab: Inserting a blank tab

9. Inserting a tab into a textbox

10. Inserting tab characters

11. how to insert tab mark ?

12. Inserting Tabs for a SSTab control....

 

 
Powered by phpBB® Forum Software