Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any thing similar to VFP 'This'
Message
 
To
29/11/2001 12:42:00
General information
Forum:
Delphi
Category:
Coding Syntax & Commands
Miscellaneous
Thread ID:
00585778
Message ID:
00587876
Views:
22
>Can you actually get the type of sender object (BASECLASS in VFP)?

Yes, each TObject has ClassName (analog of BASECLASS), ClassType and ClassParent properties. But usually you need only check if object is related to some class. The is operator is used to verify the actual class of object:

if Sender is TButton then ...
Previous
Reply
Map
View

Click here to load this message in the networking platform