Article View: free.it.visual-basic
Article #3514Re: checkbox dinamici in un form
From: Roscio
Date: Tue, 25 Jun 2002 11:46
Date: Tue, 25 Jun 2002 11:46
25 lines
1757 bytes
1757 bytes
"Anak" <Anak@excite.it> wrote in message
news:vjHR8.64061$TS.1795809@news1.tin.it...
> Salve a tutti,
> avete un'idea di come si possa generare una lista di checkbox associata ai
> dati di un file sequenziale?
La prima cosa che viene in mente � quella di gestire una
ListBox con StYle = Checkbox (crea una lista di elementi
con alla sinistra una checkbox per ciascun elemento):
open "history.csv" for input as #1
do while not eof(1)
input #1, stringa$,val$
List1.Additem stringa$
if val$="1" then
List1.Selected(ListCount - 1) = True
else
List1.Selected(ListCount - 1) = False
end if
loop
close #1
--
Er Roscio.
Technical Details
Message-ID:
<6KYR8.65381$j65.1566656@twister1.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mailReferences:
<vjHR8.64061$TS.1795809@news1.tin.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,9a38f0709790f9e7 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2002-06-25 04:46:14 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: "Roscio" <sergint@libero.it> Newsgroups: free.it.visual-basic References: <vjHR8.64061$TS.1795809@news1.tin.it> Subject: Re: checkbox dinamici in un form Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: <6KYR8.65381$j65.1566656@twister1.libero.it> Date: Tue, 25 Jun 2002 11:46:10 GMT NNTP-Posting-Host: 151.29.22.204 X-Complaints-To: abuse@libero.it X-Trace: twister1.libero.it 1025005570 151.29.22.204 (Tue, 25 Jun 2002 13:46:10 MET DST) NNTP-Posting-Date: Tue, 25 Jun 2002 13:46:10 MET DST Organization: [Infostrada]