Re: Is a multidimensional Label control possible?



"Jacob" <jacob_address@xxxxxxxxxxx> wrote in message news:e0Hr3nT1HHA.5836@xxxxxxxxxxxxxxxxxxxxxxx
<cut>
Is something like that possible? Is there any (third party) control that will do what I need?

You can always use a single index and calculate row*totalcolumns+column to find the right one

You can also create your own array
dim mylabels(1 to 2, 1 to 4) as label
for r=1 to 2
for c=1 to 4
set mylabel(r,c)=label1((r-1)*4+c-1) ' may be off depending on how they are set up
next
next

the events will still give you the single index but it's easy enough to calculate the row & col

.



Relevant Pages

  • Re: Addressing multidimensional arrays
    ... Suppose I have a multidimensional array, ... N*M times, and access arr along the way, would that invoke UB? ... arrays using a single index when the array is ... I tried the Vista speech recognition by running the tutorial. ...
    (comp.lang.c)
  • Re: Excel Chart Series Values Property Size Limitation
    ... Depending on your data, rounding dp may help reduce the overall length ... Of course, chart data could be in cells in hidden columns, outside the ... gradually build up the array of data points without getting this error? ...
    (microsoft.public.excel.charting)
  • Re: Returning the last value in a row
    ... If you have blank rows in between try the following depending of the ... and one numeric entry ... If you don't know the type of data use the following array ... > Frank Kabel ...
    (microsoft.public.excel.misc)
  • Re: Tables, Recordsets and Arrays SQLite/VB6
    ... but it must get its daily data from an array called DataArray. ... Whether table or recordset (depending on answer to previous ... An ADODB.Recordset, for example, is actually a variant array of collections ...
    (microsoft.public.vb.database)
  • RE: Substitute Respective Entries In Arrays
    ... if the data contains an entry like JACOB and the replacing arrays ... JaCOB instead of JaCoB. ... Dim myC As Range ... First Array has entries like: ...
    (microsoft.public.excel.misc)