常规参数
文章标题:
权重:
文章摘要:
原因很简单,Color在TControl中是私有的。可以这样解决: TMyControl=Class(TControl);/*在每个需用TControl.Color的单元中写*/ procedure ChangeColor(Sender:TObject;iDirection:Integer) begin if iDirection=1 then (Sender as TMyControl).Color:=clAqua else (Se
关键字:
方法 变量 保护 访问 TMyControl Sender .Color: as TControl
管理密码: