Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox dropdown data too long to show
Message
 
To
18/08/2004 10:41:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00841270
Message ID:
00934122
Views:
29
>>>>>I have a form where I have a ComboBox objects that displays two columns from a table. The first is relatively short and the second is relatively long. To get the dropdown to not be scrolled off the left of the screen, I have set the column widths to 65,550. This allows the entire first column to display, but the right side of the second column is not shown.
>>>>>
>>>>>Is there some way to cause the data in the second column to be displayed? Can I some how make it wrap to multiple lines for each selection, or have a data displayed somewhere else when the cursor is held over a selection?
>>>>
>>>>Alan,
>>>>
>>>>Did you ever resolve this issue?
>>>Yes I did resolve the problem. I simply moved the left variable to the left of the screen on the dropdown event and on the valid event, I reset it back to the original setting.
>>Alan,
>>Just curious, have you tested moving the form?
>>IE grab the title bar and drag the left edge of the form past the left edge of the screen and the same on the right?
>
>No, I have not tried that. Most of my users run in 800x600 mode and have the form maximized.
>
>I'm still having one problem with the resize process. On the drop down event, I set the left to 0 and set the length to give me full width. On the valid event, I set both back to their original values. The problem I am having is that if a user drops the dropdown and then click somewhere else on the form rather than making a selection, the dropdown closes up but the left and width do not get reset. I have put the reset logic on the lostfocus event also, and then whenever another object gets selected the resize takes place, but it looks a little strange. It seems that there should be some solution, I just am not seeing it.

Alan,
You are experiencing a bug that has existed since VFP5 and is one of the reasons that I jumped into this thread. I was hoping that you might have found a solution. The specific bug that I think you are experiencing is that if the user clicks on a part of the form that cannot getfocus, the lostfocus of the combobox is not fired.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform