W winding Unregistered / Unconfirmed GUEST, unregistred user! 1999-07-19 #1 TObject *Sender) 的转换 能转换成 TButton 的对象吗??????
H hanson Unregistered / Unconfirmed GUEST, unregistred user! 1999-07-19 #2 当然可以了,如下: TButton(Sender) 但是你要很清楚,Sender一定是Button才行,否则会死的很难看!
H hntangwei Unregistered / Unconfirmed GUEST, unregistred user! 1999-07-19 #3 (sender is TButton)可作为TButton对象
D DancingAgain Unregistered / Unconfirmed GUEST, unregistred user! 1999-07-19 #4 Justdo it: TButton *button; button = (TButton*)Sender;