TcxCheckComboBoxItems.AddCheckItem
TcxCheckComboBoxItems.AddCheckItem
TcxCheckComboBoxItems See Also
Creates a new item with the specified caption and adds it to the current collection.
function AddCheckItem(const ADescription: TCap...
TcxCheckComboBoxItems.AddCheckItem
TcxCheckComboBoxItems See Also
Creates a new item with the specified caption and adds it to the current collection.
function AddCheckItem(const ADescription: TCaption; const AShortDescription: TCaption = ''): TcxCheckComboBoxItem;
Description
The AddCheckItem function allows you to create a new item in the current collection and set its Description and ShortDescription properties. The values used to initialize these properties are passed as the ADescription and AShortDescription parameters correspondingly.
You can use the AddCheckItem method as follows:
//Delphi
procedure TForm1.Button1Click(Sender: TObject);
begin
cxCheckComboBox1.Properties.Items.AddCheckItem('New item', '<New>');
end;
The Add method allows you to add an item with an empty description and short description. You should then use the item properties to specify its descriptions and enabled status.
微信或手机浏览器扫一扫,随时随地随心阅读与分享
文章标题:TcxCheckComboBoxItems.AddCheckItem
文章链接:https://www.14551.cn/Delphi/738.html
版权声明:本站提供的一切软件、教程和内容信息仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络收集整理,如果您喜欢该程序和内容,请支持正版,购买注册,得到更好的正版服务。我们非常重视版权问题,如有侵权请邮件与我们联系处理。敬请谅解!




发表评论