Re: Arraylist Index Question



"Armin Zingler" <az.nospam@xxxxxxxxxx> schrieb
In VB 2008 you can do nice things like this:

dim b as boolean

b = Array.TrueForAll(labels, Function(l As Label) l.Text =
"4096.00")

where 'labels' is an array of labels.

I know you have an arraylist. Was only an example. Doesn't change that you need a loop.


Armin

.



Relevant Pages

  • Re: How to plot Double values graph with MSChART
    ... 'Set the column labels. ... we used a Variant data type array where the top row and left column are set to string variables and the lower right 2 by 2 submatrix is set to numeric values. ... Another poor design "feature" of the MSChart control, but there's absolutely nothing limiting as for display Double as a numeric type. ...
    (microsoft.public.vb.general.discussion)
  • Re: Read a file a line at a time from memory
    ... I am a forum moderator and spend about 10 hours a week ... The layout designer contains 64 labels that the user can ... I had a heck of a time dimensioning the array. ... Here is the Dim statement that you need... ...
    (microsoft.public.vb.general.discussion)
  • Re: Read a file a line at a time from memory
    ... This is part of the GDI layout designer I mentioned in a post a few ... The layout designer contains 64 labels that the user can ... I had a heck of a time dimensioning the array. ... Here is the Dim statement that you need... ...
    (microsoft.public.vb.general.discussion)
  • Re: Read a file a line at a time from memory
    ... The layout designer contains 64 labels that the user can ... The above sniplet is the information for one label. ... I had a heck of a time dimensioning the array. ... Dim TotalFile As String ...
    (microsoft.public.vb.general.discussion)
  • Re: Array Formulas - Unique List from List with Duplicates
    ... Repeat the labels in E1:G1 ... Enter this in the normal way, it is NOT an array function ... Term Category Amount ... The totals for both lists equal 215. ...
    (microsoft.public.excel.misc)