473,385 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Image combo in VB6

Hello,

I have a small problem with the imagecombo control in vb 6.
I use a imagecombo locked (as a combobox with a picture).
If the user press the Enter key in the imagecombo, them the selected item is
set to nothing and the program can not see the seleced item. All my users
want to use the enter key to go to the next control instead of the tab key.
This problem only occur with the enter key (that trigger the change event
even if nothing is changed as the Imagecombo is locked)
The only thing I have seen is to code this event

Private Sub ImageCombo1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
KeyCode = 0
Command2.SetFocus
End If
End Sub
Is there another solution to this problem?
I use VB6 SP5 (as the listview move column bug is not corrected now)

Thank you
Marc Allard
Allcomp
Jul 17 '05 #1
0 5521

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chris Leipold | last post by:
Hi, I habe a page with an image with variable width. I need a caption below the image with the same width as the image. See http://www.dietzk.de/test/ - the first example is what I need. This...
1
by: scott_baird | last post by:
I'm sure there are easier ways, but... I have a combo box that has 5 possibilities (one of which is "sold"). When the combobox.value=Sold, I want an image to appear, otherwise to not be visible....
11
by: Tomek Toczyski | last post by:
What is the best way to attach a caption to an image in xhtml? I can attach a caption to a table by a "<caption>" tag but I would like to do sth similar to an image. How to do it in a natural...
1
by: leventcosan | last post by:
I have a table that has Emp ID, EmpName and EmpSignature. The empsignature has the path of each Signature. On a form I have a combo box that will display a specific employee. On a printed...
2
by: Beemer Biker | last post by:
I have a 10 row (per page) gridview where the first column is a small image under 100x200px and the second column is a DropDownList template that selects which image to show in the first column. ...
5
by: billaiqur | last post by:
Hi, I want to view the image in my form. It relates to a combo box. Whenever i change the Form_no in the combo box. The image in the form should change accordingly. And the image viewer should...
3
by: gyap88 | last post by:
I m using vb 2005. I m importing a jpeg format image into form2. The image on the form will be dependant on the CustomerID. The CustomerID is taken from form1. I am also trying to allow user to...
3
by: ranjith kumar devuniri | last post by:
Hi everyone! coming to point directly I am developing an application in VB using visual studio 6.0. In my application, I have a form with 9 image controls and one picture box control. Those images...
12
benchpolo
by: benchpolo | last post by:
I have a group of 20 images (.jpg) formats that I want to incorporate with my new access database that will dynamically display the image on the form based on the value that I select from the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.