The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Initializing listboxes
Replies: 1   Last Post: Oct 30, 1997 9:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 21
Registered: 12/7/04
Initializing listboxes
Posted: Oct 29, 1997 2:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a setup where when a button is pushed, it will open up the file
which is highlighted in a listbox. I need to have this type of setup
because I have other listboxes that tell certain information about the
files that are listed. I am having trouble initializing the button
though. Once the window is opened, I want the button to be able to open
the file that is highlighted by default. I am able to open files if I
click on a file to highlight it then press the button, but if I just
press the button, it cannot open the file that is highlighted by default.
The callback code that I am using for my button right now is:

callrt = [
'for i = 1:length(Strings),',...
'if Value == i,',...

Any suggestions would be helpful. Thank you.

Tony Hansen
Erim International, Inc.

-------------------==== Posted via Deja News ====----------------------- Search, Read, Post to Usenet

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.