Jump to content

They sell VB in Ontario now


Weapon X

Recommended Posts

This forum is supported by the 12ozProphet Shop, so go buy a shirt and help support!
This forum is brought to you by the 12ozProphet Shop.
This forum is brought to you by the 12oz Shop.

To expand a little on what BOATZ N HOES is saying.

 

 

Private Sub lstFixture_Click()

call filterList(lstFixture)

End Sub

 

Public Sub filterList(ByRef LST as listbox)

'Passing the control itself as a reference is a good idea if this sub moves

'Focus to other cotnrols.

With LST

MsgBox .ListCount

'Etc...

End With

End Sub

 

 

Form1.ActiveControl should be self evident.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...