From: John on
Howdy!

I have decided that using a table (as opposed to a list which I know would "solve" my problem) in order to display some information. The table is 21x2 and contains all strings.

I would like to call out the HIGHLIGHTED SELECTION on the table...not the data in the table.

There is no value set on the selection (as is the case with ListBoxes). Is there anyway for me to interact with only the user-selected data in a table?

My main purpose is to allow a user to select a format specifier (%s or %f or %u32) from the table. The reason I used a table was so that the second column would contain an explanation of what the specifier does.

Thanks for the Helpity Help Help.

J-bone
From: us on
"John " <jfishbac(a)gmail.com> wrote in message <i0j29h$dj5$1(a)fred.mathworks.com>...
> Howdy!
>
> I have decided that using a table (as opposed to a list which I know would "solve" my problem) in order to display some information. The table is 21x2 and contains all strings.
>
> I would like to call out the HIGHLIGHTED SELECTION on the table...not the data in the table.
>
> There is no value set on the selection (as is the case with ListBoxes). Is there anyway for me to interact with only the user-selected data in a table?
>
> My main purpose is to allow a user to select a format specifier (%s or %f or %u32) from the table. The reason I used a table was so that the second column would contain an explanation of what the specifier does.
>
> Thanks for the Helpity Help Help.
>
> J-bone

show an exemplary, SMALL code snippet, which produces your table...

us
From: John on
On Jul 1, 5:54 pm, "us " <u...(a)neurol.unizh.ch> wrote:
> "John " <jfish...(a)gmail.com> wrote in message <i0j29h$dj...(a)fred.mathworks.com>...
> > Howdy!
>
> > I have decided that using a table (as opposed to a list which I know would "solve" my problem) in order to display some information. The table is 21x2 and contains all strings.
>
> > I would like to call out the HIGHLIGHTED SELECTION on the table...not the data in the table.
>
> > There is no value set on the selection (as is the case with ListBoxes). Is there anyway for me to interact with only the user-selected data in a table?
>
> > My main purpose is to allow a user to select a format specifier (%s or %f or %u32) from the table. The reason I used a table was so that the second column would contain an explanation of what the specifier does.
>
> > Thanks for the Helpity Help Help.
>
> > J-bone
>
> show an exemplary, SMALL code snippet, which produces your table...
>
> us

I created the code using the "Table Property Editor" in GUIDE.

The first two rows of the table look like this:

TABLE:
| %n | Read a number and convert to double
| %d | Read a number and convert to int32

I would like to click on TABLE(1,1), and click another button which
places TABLE{1,1} into a ListBox. However, I can't seem to find a way
to indicate the Range of Selected Data in my table.

Thanks for the help!

J-bone