Is it possible in any way to store a value in a button, as well as its text?
I want to be able to click a buttont to bring up a search box which will allow me to pick one of thousands of items. A combo box isn't ideal because there are too many items to make that usable. The search box would also allow for a text-based search.
Upon clicking OK in the search box, I'd like to be able to store the value of the selected item, as well as the text representing it, in the button for later retrieval.
Or is it not possible? My alternate method is to use an object in which I can store the value, which is probably just as good, but the button method would be cleaner.
Cheers.
I want to be able to click a buttont to bring up a search box which will allow me to pick one of thousands of items. A combo box isn't ideal because there are too many items to make that usable. The search box would also allow for a text-based search.
Upon clicking OK in the search box, I'd like to be able to store the value of the selected item, as well as the text representing it, in the button for later retrieval.
Or is it not possible? My alternate method is to use an object in which I can store the value, which is probably just as good, but the button method would be cleaner.
Cheers.