Jump to content

Recommended Posts

Posted

Hi,

I have a GUI where I've declared a dropdown box as follows:

$combo_platform_change = GUICtrlCreatecombo ("", 40, 120, 180, 30, $CBS_DROPDOWNLIST + $CBS_AUTOHSCROLL + $WS_VSCROLL)
$s_platform_list = "|4100|4105 Olympus|4105 Stornoway|Custom"
$s_last_platform = "4105 Stornoway"
GUICtrlSetData(-1,$s_platform_list,$s_last_platform)
GUICtrlSetOnEvent(-1, "combo_platform_change_callback")
GUICtrlSetTip(-1, "Each HW platform requires different CCS settings" & @CR & _
                  "Select CUSTOM to change the settings manually")

When compiled, under Windows XP it works just fine. When I click on the dropdown arrow the dropdown appears with the list of elements.

But in Windows NT, when I click on the arrow, an "empty" dropdown appears instead. I can still use the up and down buttons to go through the different options, but I cannot see them in the dropdown.

What am I doing wrong?

Cheers,

Angel

Posted

Windows XP appears to be the only version that ignores the height of the combo box, so XP always shows the full box.

Windows 9x/2000 allow you to restrict the height....

The help file should be more explicit that HEIGHT is the height of the drop-down list thing and not just the textbox thing.

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Posted

  CyberSlug said:

Windows XP appears to be the only version that ignores the height of the combo box, so XP always shows the full box.

Windows 9x/2000 allow you to restrict the height....

The help file should be more explicit that HEIGHT is the height of the drop-down list thing and not just the textbox thing.

<{POST_SNAPBACK}>

You are right CyberSlug, I was confused by the help file, as I thought that the HEIGHT was for the textbox instead of for the actual dropdown box.

Angel

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...