Walter Meester
HoogkarspelPays-Bas
Versions des environnements
Hi marcia,
>I'm sorry, but I do not happen to agree with you. I use combos all the time - they are one of my favorite controls - and I do not have any particular issues with them.
One that comes in mind is that when you bind the value to a numeric column and the control is not bound to anything (Controlsource = ""), the Value, sometimes is numeric, sometimes caracter. The other way arround also seems to be true. When it is bound to a column that contains character, but a numeric value, it sometimes is converted into numeric and sometimes to character.
I've dealt with this issue more than once since VFP5. I now always set the controlsource to a character property to avoid the issue. Anyways, this is one bug that really irritates me.
One thing that is terribly stupid imo, is that when you have represent a character listitem of the combobox which is bound to a numeric value in the table you'll have to:
- Set the sparse property to .F., Gives you the ugly downarrow for every row in stead of only when the field is active.
- Use views to load the listitem in a characterfield, unbound the column and the combobox and a mechnism to fill the characterfield when changed.
- Or use a SEEK or other kludge to get it strait.
Why can't the VFP team solve the situation in such manner that if the sparse property is set to .F. the combox' downarrow is not displayed in every row ?? sure a workarround does exists (And I use them a lot), but it still is a kludge that should not neccesary at all.
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement