Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generic Set Focus
Message
De
27/08/1998 09:02:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/08/1998 10:34:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00130031
Message ID:
00130461
Vues:
50
>Hi Rixon ----
>
>The TabIndex property is the element number in the Controls collection, so in essence, by scanning through the Controls collection you are going in TabIndex order and setting focus to the first control, in TabIndex order, that can receive it.

Just crossed my mind - shouldn't we have a possibility to do something like

thisform.taborder[1].SetFocus

I mean, there's the Controls array, but it lists them in the order of instantiation, and lists all the shapes etc, which we don't want to mess with when we're setting focus. I've seen questions like this many times - how do we know which control is the first one?

I've made one custom array property for myself in my base form class - it lists all "tabbable" objects, in exact tab order, so I've solved it for myself. Still, I think we should have had this right out of the box.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform