Starfinder Playlist
  1. #1

    Combobox - hiding the combo box leaves the Down Arrow showing - how to hide that

    Folks,

    ComboBoxIssue.jpg

    See on the left a Combobox is shown, but it's hidden on the right, but the DropDown arrow is showing (and works) - how can I hide that arrow.

    The code that hides it is:

    Code:
    type.setVisible(bReadOnly == false);
    type_label.setVisible(bReadOnly == false);
    Cheers,
    MBM
    Ruleset and much more content built for FGU.
    Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!

  2. #2
    If you're doing anything with the combobox, you have to remember that it is a template that manages an amalgamation of controls, so you can't use the default window control APIs to manage it. Looking in the script itself, there is a "setComboBoxVisible" function that looks like it should do what you want.

    Regards,
    JPG

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    If you're doing anything with the combobox, you have to remember that it is a template that manages an amalgamation of controls, so you can't use the default window control APIs to manage it. Looking in the script itself, there is a "setComboBoxVisible" function that looks like it should do what you want.

    Regards,
    JPG
    Spot on, worked a treat, cheers chap!

    Code:
    	type.setComboBoxVisible(bReadOnly == false);
    	type_label.setVisible(bReadOnly == false);
    Ruleset and much more content built for FGU.
    Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in