|
-
Aug 2nd, 2001, 06:37 AM
#1
Thread Starter
Hyperactive Member
methods and events in my own objects can someone help me clear the difference up
Hi
I sometimes get confused with methods and events
With a text box its easy to understand, there is a click event or a lost focus event etc , the methods are move refresh etc
I am wanting to create a reel object in my programs for work.
A reel is a reel of plastic film
so its properties would be length , id , color
its events would be ( and this is where I am slightly unclear ) things like dispatched , created , passed_inspection , is this the right path that I am on ?
Its methods would be ( again this is the area I get confused with )
assign_to_order , allocate_to_order , calculate_wieght.
If I have a event called passed_inspection would I have a method called inspection.
what would other methods of a reel be ? generally speaking
can someone help me clear this confusion up for me , I am new to objects and am waiting for a beginning objects book to arrive.#
Many thanks
Locutus
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
|