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:
00529394
Views:
16
>"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.
I modified a grid in one of my projects so that it was just a few rows (it looks at about 20 items - but the items are not assigned dynamically eg dependent on other columns in the same row), to my surprise the dropdown list opened, and extended beyond the "bottom" of the grid.

Is your combo set to behave like a "drop down list / listbox"?
>
>
>
>>>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
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform