|
-
January 17th, 2000, 05:54 AM
#1
Adding properties/events
Is there any way to add a property or an event in a standard VB form?
-------------------------
Nick A.
-
January 17th, 2000, 06:30 AM
#2
Re: Adding properties/events
I found something in VB's help (under Adding an Event to a Form) but it's not very convenient. Is there another way? Perhaps using WinAPI? I have a routine which i use to load forms. I want to be able (inside that routine) to add an event to each form i load.
-------------------------
Nick A.
-
January 17th, 2000, 07:14 AM
#3
Re: Adding properties/events
Events, i don't know. But you can add your own properties with the SetProp API.
What do you want to do? Maybe you can create functions in the forms with fixed names to call (instead of raising an event).
Crazy D @ Work :-)
-
January 17th, 2000, 07:30 AM
#4
Re: Adding properties/events
Even if i could create an event programmatically when i loaded a form, how would i put code in it since in development mode it wouldn't exist??? Silly me. Forget it. One of my crazy thoughts... 
SetProp you say. Hmmm..... I don't think it will be helpful for what i want but i'll have it in mind. Thanx for the suggestion.
-------------------------
Nick A.
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
|