🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #190

Re: Add an item to the TOP of Tchecklistbox ??

#190
From: Mark Arkey
Date: Sun, 21 Mar 2004 04:22
12 lines
1556 bytes
steveb428@hotmail.com (S) wrote 
> Was wondering if there is a known way of adding a checkbox to a
> TCheckListbox, but adding to top of list.

The Insert method of the Items property (TStrings) of TCheckListBox
does what you need.  Pass the string to insert and the index at which
to insert the string (use 0 for the first item):

MyCheckListBox.Items.Insert(0, 'This will appear as the first item in
MyCheckListBox');

Mark Arkey
Technical Details
Message-ID: <2585884b.0403202022.64bbcf4d@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews2.google.com!not-for-mail
References: <98682b82.0403191426.3b57dd05@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb0ea,cd400d7eb6aad6c3
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: 10baee,cd400d7eb6aad6c3
X-Google-Attributes: gid10baee,public
X-Google-Thread: f94dd,cd400d7eb6aad6c3
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-03-20 20:22:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews2.google.com!not-for-mail
From: markarkey1@msn.com (Mark Arkey)
Newsgroups: borland.public.delphi.nativeapi,comp.lang.pascal.delphi.misc,borland.public.delphi.vcl.components.using
Subject: Re: Add an item to the TOP of Tchecklistbox ??
Date: 20 Mar 2004 20:22:07 -0800
Organization: http://groups.google.com
Lines: 12
Message-ID: <2585884b.0403202022.64bbcf4d@posting.google.com>
References: <98682b82.0403191426.3b57dd05@posting.google.com>
NNTP-Posting-Host: 207.225.207.250
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1079842927 20858 127.0.0.1 (21 Mar 2004 04:22:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 21 Mar 2004 04:22:07 +0000 (UTC)