|
-
Jan 20th, 2002, 05:09 AM
#1
Thread Starter
Hyperactive Member
Class Module Question
What i want to do is when i click on cmdBla that will call a function in my class module which will HIGGHLIGHT the text located in the textbox. This is what i am have, and what i am trying.
cmdBla
----------
HighlightTextBox(txtWineTypeName)
CLASS MODULE
------------------------
Private Function HighlightTextBox(oSelect As Object)
oSelect.SetFocus
oSelect.SelStart = 0
oSelect.SelLength = Len(oSelect.Text)
End Function
-----------------------------------------------------------------------------
Now that is not doing what its suppose to . Any way all help would be apreciated THX.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|