QQ聊天

关于newRolloutFloater里面的子rollout的折叠

rollout testRollout1 "testRollout"
(
    slider dddd "dddd" 
)

rollout testRollout2 "testRollout"
(
    slider dddd "dddd" 
)

rollout testRollout "testRollout"
(
    button btn "O_o"
    on btn pressed do
    (
        testRollout1.open = not testRollout1.open
        testRollout2.open = not testRollout2.open
    )
)

tempFloater = newRolloutFloater "tempFloater" 300 300
addRollout testRollout1 tempFloater
addRollout testRollout2 tempFloater
addRollout testRollout tempFloater

 

添加的时候也是可以指定状态的rolledUp参数就是这个作用

addRollout <rollout> [ <rolloutFloater> ] [ rolledUp:<boolean> ] [border:<boolean>]

posted @ 2013-05-15 16:47  SITT  阅读(674)  评论(0编辑  收藏  举报
QQ聊天