Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo boxs in Grid problems
Message
From
13/07/2003 01:35:06
 
 
To
10/07/2003 17:43:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00808913
Message ID:
00809634
Views:
30
>Hi Bob.
>
>I am trying to use a combo box in a data entry grid with the column sparse = .t. so I only see the combo if the cell is active.
>
>I basically followed the steps in KiloFox to get it working so that it will store the id in a seperate column specific in a property of the control.
>
>That works fine, when it is a drop down list.

>
>I am a little confused by you message. 'Course that is not unusual. Cunfused is my usual state.
>
>The combo class in KiloFox is a drop down combo (style = 0).

Yes, and you use it in your grid as both style one and two, and basically, I want it to work as style 0, but instead of adding the value on the fly, I want it to state the value is invalid. Also, I want the quickfill like stuff to happen.

I just tried your grid and it seems to work fine... I will have to compate what I did with your class again and see what's up.

Yea, the grid one is, but the QuickFill is drop down list, that if they enter something not in the rowsource then it displays the 'invalid value' message.

So, basically, I wan't drop down combo functionality with the ability to see what you have entered so far as you are typing in.


As I said, it functions ok, you just can't see the value in the combo after I add the record, I programatically enter a value into the field, but the combo shows empty while the column shows the value. Weird.

>Do your users need to be able to add entries to the combo's RowSource on the fly?

No.


>If not, then you are going to be better off to go with a drop down list but, as you have already said, in a drop down list you cannot see the cursor because a drop down list does not have a portion that accepts text.

Right, although they can key a value, you can really see it happening. I HATE that!

>You may want to check out our web site for my ComboInGrid examples. They may help give you some ideas.

URL?

Thanks,
BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform