摘要: VCL中有 TChangeLink 这个对象,用于当ImageList刷新是通知到绑定ImageList的控件进行更新处理。实现控件创建TChangeLink对象注册到ImageList1 // 注册2 Images.RegisterChanges(FImageChangeLink);3 // 注销4 Images.UnRegisterChanges(FImageChangeLink);事例代码procedure TmtCustomSpeedButton.SetImages(Value: TCustomImageList);begin if Value <> FImages the 阅读全文
posted @ 2012-11-22 16:46 cmacro 阅读(401) 评论(2) 推荐(1) 编辑