I.T. Discussion Community!
-Collapse +Expand
Search Delphi Group:

-Collapse +Expand Delphi To/From
-Collapse +Expand Delphi Store

Prestwood eMagazine

April Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi Object PASCAL Topic   Print This     

Self pointer

Self pointer in Delphi Object PASCAL topic (part of our Pascal and Delphi Coding group).

Quick Search: pointer   Self pointer  
Citrus Heights, CA 95610
This question is for Scott.

I'm curious. Did you ever run that test in Delphi to see what the Self pointer indicates in an "OnClick" event?
 Posted 19 years ago (Thread Starter)
Comment Quote
About Badzooka -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #8274, 1 replies
Thread Started 11/12/2002 10:37:00 AM
View Counter=2494
Location=Citrus Heights, CA 95610  
Joined=21 years ago   MB Posts=28  
Most Recent Post
Scott Wehrly
Prestwood IT
Las Vegas, NV USA
Yes, I did.

And the results were just as Rick Carter indicated. I put together a form with my sample "OnClick" method, and added a status display to report the value of Self and Sender with each call.

The results indicated that the value of Self always equalled the value of the pointer to the form that the controls and events were members of.

Mystery solved. [Yes]
 Posted 19 years ago
Comment Quote
About Scott Wehrly -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #8275 (Level 1.1)  Reply to 8274
Thread Started 11/12/2002 10:42:00 AM
View Counter=2
Location=Las Vegas, NV USA 
Joined=19 years ago   MB Posts=442   KB Posts=19  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1111A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #8274 Counter
Since 4/2/2008

Follow PrestwoodBoards on: 

©1995-2021 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech