Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd tabbing behavior with custom ComboBox
Message
De
05/01/2009 10:56:42
 
 
À
05/01/2009 08:43:37
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01370986
Message ID:
01371036
Vues:
20
>The custom combo is too complicated to explain here, but it basically is a container with a textbox and some buttons. What is happening is that when it is tabbed into it takes two tabs to get to the next object on the form. Other than the textbox, the TabStop is .F. for the other objects inside the combo. Is it possible that the container itseff is accepting one of the tabs and then the textbox is getting the 2nd one? How can I make sure that the textbox gets the focus when the container/combo is tabbed into, and then leaves the combo/container when the next tab is pressed?
>

Set TabStop = .F. on skipped container's objects is sufficient.

>UPDATE: I put an EntryTextBox.SetFocus in the ComboContainer.GotFocus and it shows the cursor in the textbox when tabbed into the container, but then it highlights the textbox on the 2nd tab press. Anyone know what could be causing that?

Put a NODEF into ComboContainer.GotFocus.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform