Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in Listboxes
Message
De
26/09/2001 18:35:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00561110
Message ID:
00561255
Vues:
24
>Hi all,
>I have 2 listboxes in a form. The first is simple column and the second have 2 columns. Both are filled as Value (RowSourceType = 1) and both are standar VFP listbox control.
>
>I need to know why the second list do not show the Hotkey underline.
>
>One form with 2 listboxes (List1 and List2)
>
>
>*** On Properties sheet for List1:
>ColumnCount = 1
>RowSource = "\<One,\<Two,T\<hree"
>RowSourceType = 1
>Width = 120
>
>*** On Properties sheet for List2:
>ColumnCount = 2
>ColumnLines = .F.
>ColumnWidths = "120,0"
>RowSource = "\<One,O,\<Two,T,T\<hree,H"
>RowSourceType = 1
>Width = 120
>
>Thanks in advance

I think no two objects can use the same hotkeys in the same form. I tried to do the same thing with multiple optiongroups, and ended up adding hotkeys in .gotfocus (OK, optiongroup doesn't have a .gotfocus, so I did it in the container it was on) and removed them in .lostfocus. In your case, try to use different hotkeys for these listboxes, or apply this logic of setting/resetting the hotkeys in .gotfocus and .lostfocus.

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