Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Truncated text in a combo box!

I wonder if anyone can shed any light on this?

I'm running a query triggered by the change event of a combo box. What it
does
is to look up the new value for combo1 against a table of possible values
for combo2.

For counter = 1 To UBound(vaPossActions, 1)
If vaPossActions(counter, 1) = flPossActions Then
cbSecActions.AddItem vaPossActions(counter, 2)
End If
Next counter

The actual code works fine but, for some unfathomable reason, the data
displayed in combo2 is truncated to a fixed width whilst it's being chosen,
only when it's selected (and returns to a single line display) does it show
the whole line of text.

Am I doing something wrong or is this just "one of those things"?

TIA

Jeff
(I'm not a little teapot for replies!)



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Truncated text in a combo box!

It sounds more like the width of the dropdown list is too narrow.

Look at your setting for the ListWidth property.

--
Regards,
Tom Ogilvy



"Jeff Q" wrote in message
...
I wonder if anyone can shed any light on this?

I'm running a query triggered by the change event of a combo box. What it
does
is to look up the new value for combo1 against a table of possible values
for combo2.

For counter = 1 To UBound(vaPossActions, 1)
If vaPossActions(counter, 1) = flPossActions Then
cbSecActions.AddItem vaPossActions(counter, 2)
End If
Next counter

The actual code works fine but, for some unfathomable reason, the data
displayed in combo2 is truncated to a fixed width whilst it's being

chosen,
only when it's selected (and returns to a single line display) does it

show
the whole line of text.

Am I doing something wrong or is this just "one of those things"?

TIA

Jeff
(I'm not a little teapot for replies!)





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Truncated text in a combo box!


"Tom Ogilvy" wrote in message
...
It sounds more like the width of the dropdown list is too narrow.

Look at your setting for the ListWidth property.

--
Regards,
Tom Ogilvy


Tom, you really are frighteningly good!!

To my mind this combobox width is a really strange behaviour, especially as
their seems to be no "autosize" type functionality

Jeff


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I stop my text being truncated at RHS of a cell? JDN Excel Discussion (Misc queries) 4 January 11th 11 05:06 AM
Pasted Text Truncated? AJ[_2_] New Users to Excel 1 March 15th 08 01:03 AM
Text in cells is truncated. Joe Excel Discussion (Misc queries) 5 February 21st 07 08:02 PM
Truncated text when copying text from one excel doc to another sunny pete Excel Discussion (Misc queries) 3 August 12th 05 02:11 PM
Textbox Text is Truncated Mel Torme Excel Programming 1 December 5th 03 03:19 PM


All times are GMT +1. The time now is 02:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"