• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

Combobox Problem

Anyone seen this behavior before:

[WRONG]  http://cpoa.brinkster.net/temp/1.JPG

[ALMOST RIGHT]  http://cpoa.brinkster.net/temp/2.JPG


At design time, I am simply trying to type in the option "V" in my combo list.  When I do so, I get an invalid character block showing up.  If I type in a space before the "V" (as in picture #2), it shows up fine.  If I type in "mA" again without a space, it shows fine.  It seems any time I tried to use a single character, I got the strange character block.  Anyone familiar with this behavior?
0
AzraSound
Asked:
AzraSound
  • 5
  • 2
  • 2
  • +2
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
no idea what this could be.
however, what about adding the items at run time (which is what I do all the time)?

0
 
AzraSoundAuthor Commented:
Yes, I had tested adding it at runtime, and it doesn't have this peculiarity.  At this moment in time, it's more of a quest to hear a "why this is happening" than anything else.
0
 
Harisha M GCommented:
Hi, what happens if you type space-V and come back and delete space ? (preferably using backspace)

---
Harish
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
fostejoCommented:
AzraSound,

I *think* this is a known issue with single character entries, they get changed to a non-printable character - though I can't seem to track anything down to back that up at Microsoft ..!

Work-arounds..

Have you tried populating the combobox at run-time instead of design-time?
Make it into a two character string by add a space onto the end of it and then stripping it off with rtrim as its chosen!

cheers,
0
 
AzraSoundAuthor Commented:
>>Hi, what happens if you type space-V and come back and delete space ?

Same problem.


>>I *think* this is a known issue with single character entries

I would hope not, as I think combo's with selections such as "Y" and "N" are quite popular.  Besides, I cannot reproduce this on my other computers, so this appears to be specific to this particular development machine.  The question is, what is causing this exception.


I'm sure runtime solutions work, but I'm much more curious to figure out WHY a runtime solution would be necessary.  As I've discovered, this seems to be machine specific, so perhaps that can provide some insight into what to look for.
0
 
EDDYKTCommented:
cannot reproduce.

What is the font type you used?
0
 
AzraSoundAuthor Commented:
I don't imagine you would be able to, as I cannot even reproduce it on any other machine.  However, for what it's worth, it is Times New Roman with a font size of 7.
0
 
EDDYKTCommented:
can you reproduce on that machine by creating another new project?
0
 
AzraSoundAuthor Commented:
Yes, it happens in the current project, and if I start a new project.  It also doesn't matter which item I try to add the "V" at.  Whether it's the 1st or the 5th item, I get the invalid character block.
0
 
fostejoCommented:
AzraSound,

Managed to track down the following which is what I may have been referring to in my original post - http://www.codecomments.com/archive337-2005-12-718244.html - the important thing is that it isn't specific to *just* your machine, it has been noted previously with different configurations of VB etc.

No explanation as to why unfortunately, just seems to be one of those mysterious glitches under some unknown but specific circumstances - are there any versioning differences of the Common Controls between the machine with a glitch and the others - same VB SP level?..

cheers

0
 
AzraSoundAuthor Commented:
Well if Randy Birch says there is no workaround then I'll take that as pretty much gospel.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now