InstallOptions help
I have a DropList with the following positions:
Left=100
Right=-30
Top=31
Bottom=80
But, when I try opening the DropList, nothing drops down. What have I done wrong?
-Stu
Archive: InstallOptions help
InstallOptions help
I have a DropList with the following positions:
Left=100
Right=-30
Top=31
Bottom=80
For combobox or droplist, the "bottom" value is not used in the same way.
In this case, the bottom value is the maximum size of the window when the pop-up list is being displayed. All other times, the combobox is automatically sized to be one element tall. If you have trouble where you can not see the combobox drop-down, then check the bottom value and ensure it is large enough.
If I change
Bottom=80
to
Bottom=10
Then I see a small black square opening under the box of about 2 units. If I increase this value, the black square still opens at only 3 units, until I get to 50 and it just disappears.
I don't understand this!
-Stu
did you read the IO tutorial?
That might help you.
IO Tutorial
It could be the ZOrder-bug, which means that the combobox does open, but it is drawn behind the component selection object, so you can't see it. Are you using Win98 or WinME?
I'm on Win XP-Pro
-Stu
Did you add a few ListItems? Without items, it does not drop down. Works fine for me (XP Pro).
Well, you're right.
I have just gone back into the ini file and found STATE was blank.
I re-entered the list items, and re-ran the program, but it still doesn't work. I then re-opened the ini file to find that STATE is blank again.
It is writing to the ini file before the page shows.
WTH!?
-Stu
Your source INI files is only being added to the installer data, it doesn't modify it. You probably forgot to save it.
Nope, it still does not work. I re-enter the listbox items, re-save it, run the exe again, and state is blank again.
This is wierd. Can you show me an example where this isn't happening?
-Stu
You need to enter the list items into ListItems not state.
ahahahahahaha
Thank you Kichik
-Stu :o :)
hmmm......
Left=100
Right=-30
Top=31
Bottom=80
It shouldn't have to be 130?
-30 is the width of the InstallOptions window area - 30. It's supported.
Why the right location is -30 and the left 100? An object inversed?
(It should be:
Left=-30
Right=100
Top=31
Bottom=80)
Since minus 30 is the dialog width minus 30 and the dialog is wider than 130 units your version is the inverted one.
Now I undestand! Thank you kichik!