B
bhammer
My form has two listboxes. when the form opens, I need one listbox to scroll
to the bottom. I can do this with SetFocus and SendKey "{END}". But I also
need the other listbox to be able to accept the Focus and highlight the first
item (in order to load an image box).
*******I tried . . .
Form_Open()
Me.lstLeft.SetFocus
SendKeys "{END}"
Me.lstRight.SetFocus
SendKeys "{DOWN}"
End Sub
*******And I tried . . .
Form_Open()
Me.lstLeft.SetFocus
SendKeys "{END}"
End Sub
Form_Load()
Me.lstRight.SetFocus
SendKeys "{DOWN}"
End Sub
I can't get both to hightlight upon the form's opening. Ideas?
-Brad
to the bottom. I can do this with SetFocus and SendKey "{END}". But I also
need the other listbox to be able to accept the Focus and highlight the first
item (in order to load an image box).
*******I tried . . .
Form_Open()
Me.lstLeft.SetFocus
SendKeys "{END}"
Me.lstRight.SetFocus
SendKeys "{DOWN}"
End Sub
*******And I tried . . .
Form_Open()
Me.lstLeft.SetFocus
SendKeys "{END}"
End Sub
Form_Load()
Me.lstRight.SetFocus
SendKeys "{DOWN}"
End Sub
I can't get both to hightlight upon the form's opening. Ideas?
-Brad