>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.