CrazyEngineers V4: Early Access

We are developing the next version of CrazyEngineers. If you wish to receive latest updates and early access, click the link below.

  1. Home >
  2. Apps >
  3. Groups >

What is the use of Delegates

Question asked by dayanandavt in #Coffee Room on May 23, 2007
dayanandavt
dayanandavt · May 23, 2007
Rank E1 - BEGINNER
Hi all,

Wat will be the use of delegates other than asynchronus execution of a function.........????


- daya Posted in: #Coffee Room
thin_master
thin_master · May 30, 2007
Rank E1 - BEGINNER
The use is in the name itself. A delegate is used to delegate some job.

A scenario.

You want to read serial port data and show it in in a form. You have a function to read the data, but that function has got no access to the form. So you code a delegate that has access to that form and give the painting job to that delegate function.

This is a scenario that I faced.

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up