After first testing and seemingly okay this is now failing to show the Thunderbird Window until clicked in the taskbar,
thund = "D:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe " & _
"-compose " & """" & _
"to='" & email & "'," & _...
When designing the form I had a textbox, a label and listbox in a row, showing e.g "1944" to "1955". The 1944 is passed in OpenArgs and the listbox held years from that to 2000 (max). I simply made the listbox the same height as text box for aesthetics, then noticed the scrollbars worked like...
Right I'll try it and see. I had changed height to show 3 items and that made it obvious one should be clicked. This also turned the "arrows" into a scrollbar.
The listbox height showing only one item, then changing them (yes like a spinner) but still having to click was not good.
Hi Arne as per Msg 1 ListPosto/From hold items 1 to 100. List4 contains 4 digit years from SQL. There's also a text box holding a start year (setup in another Form). The idea is the user selects a Year range, then a range anywhere between 1 and 100. I think the problem was no dropdown. Without...
OK. Thanks for everyone's help. I've redesigned the Form to use a 3 line Dropdown and pre-slected default values to avoid Null.
I still think there should be a way to get the value showing in the Listbox (when there's no dropdown) without clicking it but I'll have to give up on that even though...
? i there is no Highlight on the listbox, then nothing is selected therefore the its Value is Null (nothing).
Actually, no that is not true. In Form Load I have listPosTo = 10 after the 100 additems. This is so it initially shows 10.
? listPosto shows 10. even though nothing is selected.
Hmmmm. The item is not highlighted as there's no dropdown list to choose from . The value appears in the control (looking like it's just a textbox) but there are scrollbars, well they're not really scrollbars in the traditional sense. They're an up/down arrow and as you click it the values...
> If you are getting null for the value and -1 for the listindex you have not selected an item in the list.
I've move the scrollbars so they show an item. Do I need to click on the item as well ? If so, thats an extrsa step that isn't obvious. Can it be avoided?
> perhaps your talking about the scrollbar.
> you are selecting an item in the list first right?
Yes and yes. The items change as you scroll. That list stays on one item, as opposed to a dropdown list.