Thread Rating:
  • 373 Vote(s) - 2.87 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DropdownList のボタンが欲しい
11-18-2011, 07:42 PM,
#1
DropdownList のボタンが欲しい
DropdownList の右にある、下向き三角のボタンが欲しい。
11-18-2011, 07:48 PM,
#2
RE: DropdownList のボタンが欲しい
オープンコントロールから探しました。

Code:
{def owner:StandardDropdownListUI = {StandardDropdownListUI}}
{def sdh:StandardDropdownHelper = {StandardDropdownHelper owner}}
{value sdh.dropdown-button-graphic}


見栄えだけなら↓

Code:
{CommandButton
            takes-focus? = false,
            show-focus? = false,
            active-traversal-container = null,
            control-appearance-changeable? = true,
            label =
                {TriangleControlPart.from-dimension
                    TriangleDirection.down,
                    5, 7, offset = 2
                },
            height = {add-stretch before? = true, after? = true},
            {on Action do
                {self.textfield.populate-from-strings
                    self.provider.list-item-string}
            }
        }
11-21-2011, 10:08 AM,
#3
RE: DropdownList のボタンが欲しい
SkinnableDropdownListUIを使っているなら、以下の様に取れます。

{ui.get-tagged-content "drop-button"}


Possibly Related Threads...
Thread Author Replies Views Last Post
  DropdownList のリスト表示のショートカット umemura 1 2,884 02-24-2014, 05:34 PM
Last Post: umemura
  DropdownList へのListValueItem の設定方法は? umemura 1 2,836 02-02-2014, 07:13 PM
Last Post: dyoshida
  選択後の DropdownList のラベルをカスタマイズしたい umemura 0 2,872 04-02-2013, 05:42 PM
Last Post: umemura
  DropdownList でラベルが選択できない umemura 1 3,416 02-04-2013, 03:49 PM
Last Post: usami
  How to measure ListValueItem.label width in Dropdownlist kingcesc 1 2,941 11-15-2012, 12:07 PM
Last Post: kingcesc
  DropdownList のリストを表示 umemura 4 4,595 11-21-2011, 10:12 AM
Last Post: c-s
  Dropdownlist: height changes when selected? swan 2 4,336 07-27-2011, 01:32 PM
Last Post: swan
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('348')