Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Paperino Newsgroups: it.comp.lang.visual-basic Subject: Re: E' una matrice o no? Date: Wed, 2 Aug 2017 19:54:07 +0200 Organization: Aioe.org NNTP Server Lines: 20 Message-ID: References: NNTP-Posting-Host: E4R26L1Wjj25rIMNgEwEuQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.5.666 Content-Language: it X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com it.comp.lang.visual-basic:19132 Il 02/08/2017 19:52, Paperino ha scritto: > Greg ha scritto: >> Disegno sul form una textbox e gli do indice 0, quindi ho creato una >> matrice di textbox formatada >> un solo elemento. >> Poi da codice, con il metodo Load creo altri elementi della matrice: >> n = n + 1 >> Load Pic(n) >> Pic(n).Top = ...... >> Pic(n).Left = ...... >> alla fine del ciclo, l'istruzione: >> a = UBound(Pic) ma anche a = UBound(Pic()) >> genera un errore di compilazione, senza numero, "prevista matrice" >> Come mai? La matrice di PictureBox viene creata, ma poi non la riconosce? > Text.UBound Vabbe'... volevo dire Pic.UBound Bye, G.