Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to drag a control to/from a grid?
Message
De
07/12/2006 11:17:06
 
 
À
07/12/2006 10:43:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01175606
Message ID:
01175695
Vues:
9
>Thanks Terry - I will give that a try. I'm trying to learn about all the quirks in VFP 9, as relates to combos in grids. So first I want to get a combo working perfectly outside a grid, then move it to a column in my grid. Then compare how the combo works - inside vs outside the grid... So far, even with VFP 9, I cannot get the combo's dropdown list to remain open (when combo is in a grid).

KEYBOARD '{F4}' PLAIN

in the combo's SgotFocus() event

will cause it to open auto when you focus on it

>It closes as soon as I type any character. OTOH, outside of a grid, the combo stays dropped down as I type characters - performing incremental searches (as one would expect it to).

You sure you've got the combo' Style prop. set as a drop-down list or combo? If you want to be able to type in it then set it to 0.

FYI, I don't know if you know but "combo" stands for "Combination text box-drop-down list" (not surf & turf), for use when, say, you have a list of name titles, e.g. Mr, Mrs, Miss, Ms, and you want to enter something unusual, like "Capt", "Rev" or "WCom" (Wing Commander).
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform