PDA

View Full Version : List Box


Rick Wallenbrock
10-19-2004, 06:03 PM
I want to create a list box with, for simiplicity, 6 items in it. Then I want the user to be able to double click on an itme (no multiple selction allowed) which would then open up a Word doc. Then the user can simply close that word doc and be back at the list box and chose another item.

I want to use On Double Click.

sside
10-19-2004, 06:24 PM
Hello

Here you have an example

http://www.indigorose.com/forums/showthread.php?t=9099

Sside

Rick Wallenbrock
10-19-2004, 08:01 PM
SSIDE - Thanks for the example. I set up my list box just like yours and with the List Data as Autoplay\Docs\Sample.doc, in my project files. Two things happen that I can't figure out:

1. When I click on any Item, it opens the folder Autoplay an stops there. It doesn't go to the file - Sample.doc.

2. As I said, this happens on any item even though they all have different paths under the Item Data.

Any thoughts?

Intrigued
10-19-2004, 08:10 PM
Here one of the F.A.Q posts from the F.A.Q. forum:

http://www.indigorose.com/forums/showthread.php?t=9032

It explanes about using double back slashes in paths.

Sincerely,

sside
10-19-2004, 08:50 PM
SSIDE - Thanks for the example. I set up my list box just like yours and with the List Data as Autoplay\Docs\Sample.doc, in my project files. Two things happen that I can't figure out:

1. When I click on any Item, it opens the folder Autoplay an stops there. It doesn't go to the file - Sample.doc.

2. As I said, this happens on any item even though they all have different paths under the Item Data.

Any thoughts?


I'm not sure what is gone wrong, but if you upload the example then i will take a look at it.

Sside

Rick Wallenbrock
10-19-2004, 08:54 PM
SSide - I think I will try to replicate your example in my app and see if I get yoru results and then substitue my data in that test to see what hapens. If that fails, I will send you the data to look at. Again, many thanks.

Rick Wallenbrock
10-20-2004, 08:52 AM
SSIDE - Got it to work and open up my word or pdf doc associated to that item. Must be the wine my computer drinks at night that causes these oddities.
Thanks again