HansV wrote: ↑06 May 2020, 06:52
That should work to get the list box populated - what happens if you try it?
Well, nothing happens, apparently there's something wrong elsewhere in my code that I haven't found yet. (I get an error, "Invalid use of null property", or something like that.) I am intentionally not digging into it today. because I have too much else I have to get done, and I know if I start with this I'll be there all day. It's become an addiction :~) However, I did create a dummy form in my experiments workbook, and the code works there.
I don't see the need for a spin button.
You are so right. I guess I never used a listbox before. I never realized that it has a spin button built into it. Unfortunately, I need the window to be quite small (about 18pt (H) by 38pt(W)) which makes the spin button so small it's quite hard to use.
Once again, I've started something I thought would be quite simple, and discovered when I got into it that I don't know what I'm doing. I'm quite willing to let go of the idea if it turns out to be complex; but if you are inclined to look at it, I've attached the dummy copy so you can see what I'm toying with.
- As I said, the list box appears to be semi-practical at best for this situation
I could use a combobox with an attached spinbutton, if there were a way to disable the dropdown arrow. But I can't find one; also, I can't remember how to populate the second column, which I believe i'd need to bind the spinbutton to. Probably also an impractical endeavor.
The ideal would be the textbox with an attached spinbutton, but I can't figure out any way to insert a selectable list into a textbox, let alone any way to use a spinbutton with it. But it at least shows you the "look" I'm trying for.
Thanks for you time.
You do not have the required permissions to view the files attached to this post.