Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid with Combo Box
Message
 
 
To
10/07/2001 22:14:40
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528455
Message ID:
00529042
Views:
15
>"How many rows does the grid have. Will the combo properly display if the grid is scrolled up a coup[le of rows?"
>
>The main grid has 6 rows in it. Sometimes the first time through the combo boxes they display properly with scroll bars, but once I hit the bottom of the grid they lose their vertical scroll bars. The obviously the number of choices available to choose from decreases.
> Very strange.
>

Raymond,

What is DisplayCount property for this combo? Do you change it in code? If nothing would work, you can try to change it in AfterRowColChange event for the grid (when you're on the last row - you can set it to some small number to be sure, that vertical scroll bar appears). Also could it be, that you place some object under the grid?


>
>
>>>Nope that's not what's happening. If I come to grid row 1 and open the combo box in column two, it will have a scroll bar. The same for all combo boxes as you move from row 2-5 of the grid. As soon as you move to row six, the combo box which should display the same values as the combo boxes above it does not have a scroll bar and it should have a lot of rows in it, like the combo boxes above it. I've never seen anything like this before.
>>Is row 5 at the "logical" bottom of the grid. How many rows does the grid have. Will the combo properly display if the grid is scrolled up a coup[le of rows?
>>
>>
>>>
>>>ray
>>>
>>>
>>>>>I'm using VFP6. I have a grid with embedded comboboxes in it. As I select a combo box it's contents are populated with a query based on the contents of an adjacent column. This work fine until I move beyond the 5th row in the grid. At that point the vertical scroll bar in the combo box disappears. If I get
>>>>>out of the form and start over the vertical scroll bar comes back until I go beyond row 5. Has anyone seen anything like this before?
>>>>>
>>>>>thanks
>>>>
>>>>Raymond,
>>>>Combo populates dynamically, and at that point itemcount fall below 8 ? Displaycount default value is 0 allowing 7 visible rows. If there are less items than displaycount then there is no scrollbar.
>>>>Cetin
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform