Solved

ImageCombo vb6 (I can only see end of text not the beginning)

Posted on 2004-04-01
2
296 Views
Last Modified: 2013-12-25
I have a problem with the imageCombo

I am loading an imageCombo with  2 fields
Id and Description

I select an item in the combo and if the text (Combination ID-Description)
is bigger then the size of the combo then it moves the cursor to the very right of the imagecombo and very annoying for the user who has to press the back key till he can see all the text.

Is there any way i can select an item in the combo and move the cursor to the very left of the combo so that i can see the beginning of the text rather than the end?

thanks in advance


0
Comment
Question by:Gabriel_Brienza
2 Comments
 
LVL 6

Accepted Solution

by:
mmusante earned 20 total points
ID: 10733125
Try this:

Private Sub icYourCombo_GotFocus()
    icYourCombo.SelStart = 0
    icYourCombo.SelLength = 0
End Sub
0
 

Author Comment

by:Gabriel_Brienza
ID: 10733176
Thanks a lot it works in the click event

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Pull multiple cvs files into one access table 28 68
Add a task in Outlook from access 11 39
Error when passing an argument to a vb6 that contains  '/' 7 37
vbModal 12 51
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question