Using a combobox to open web sites

jpl458

Well-known member
Local time
Today, 00:56
Joined
Mar 30, 2012
Messages
1,218
Had problems with doing this in a listbox, and read about restrictions doing it that way with hyperlinks, so I am restarting with combox. And, I have some questions.

The combobox is baesed on the following table:

1661957260830.png


There are 7 rows in the table, so in Properties I have the following:

1661957503139.png

Set the List Width to 1 because I only want to display the hyperlink name, not the hyperlink. But when use dclicks name want to open associated hyperlink.

What do I enter in Display as Hyperlink in properties for the combobox, Yes or No.

What do I enter in the Double Click Event to have the hyperlink selected in the combox to open.

Thanks
 
You should probably consider posting a sample db in your other thread, since a few members couldn't duplicate your problem.

If you want to use a Combobox, I would probably add a button next to it, instead of using the DblClick event. If you're able to use the IsHyperlink property, then you shouldn't need any code to go to that link.
 
You should probably consider posting a sample db in your other thread, since a few members couldn't duplicate your problem.

If you want to use a Combobox, I would probably add a button next to it, instead of using the DblClick event. If you're able to use the IsHyperlink property, then you shouldn't need any code to go to that link.
What would you put in the button?
 
What would you put in the button?
The same code you would put in the DblClick event of the Combobox. At least, I am just saying clicking a button would make more sense than asking the user to double click on a Combobox.
 

Users who are viewing this thread

Back
Top Bottom