Thread Rating:
  • 298 Vote(s) - 2.69 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HBoxに定義した要素のオブジェクトを判別する
07-27-2012, 09:50 AM,
#2
RE: HBoxに定義した要素のオブジェクトを判別する
これではどうでしょう
Code:
{value
    let hb:HBox = {HBox}
    {hb.add {CommandButton}}
    {hb.add {TextField}}
    {hb.add {ComboBox}}
    {for g in hb.graphical-children do
        {type-switch g
        case g:TextField do
            set g.value = "text-field"
        }
    }
    hb
}


Messages In This Thread
RE: HBoxに定義した要素のオブジェクトを判別する - by ashimo - 07-27-2012, 09:50 AM
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('577')