|
-
January 21st, 2000, 02:50 PM
#1
can i generate an event?
i want generate a click event in a list box without actually clicking.ie, through the program.
exact problem:
at the end of adding items in a listbox,i would like to eliminate multiple entries.
in my click event is the code for the same.can i generate a click event through code?
-
January 21st, 2000, 03:07 PM
#2
Re: can i generate an event?
If you have Code in your Lists Click Event, just Call it like you would a Sub, ie.
List1_Click
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
January 21st, 2000, 03:39 PM
#3
Re: can i generate an event?
are u sure?
can i do that from a module?
formname.list1_click does not seem to work for me.
-
January 21st, 2000, 03:49 PM
#4
Re: can i generate an event?
Now you never mentioned wanting to call it from a Module...
To do that you would have to change the List1_Click Sub Declaration from Private to Public, then use:
Formname.List1_Click
Aaron Young
Analyst Programmer
[email protected]
[email protected]
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
|