PB用语句实现控件的Bring to Front和Send to Back
2011-11-23 14:30
585 查看
PB用语句实现控件的Bring to Front和Send to Back 目的: 在窗口和DW中的控件,位置重叠后,需要指定有的控件在前,有的在后. 一般来说,可以在PB的设计画板中用鼠标右键中的"Bring to Front"和"Send to Back"来实现,但如果是动态创建的DW如何用语句来控制呢? 过程: DW中的控件可用 SetPosition(string controlname, string band , boolean bringtofront ) 函数 参数: controlname : 要设置的控件名,可用变量 band : detail, header, footer, summary, header.#, and trailer.#, where # bringtofront : TRUE - Bring it to the Front ; FALSE - Do not bring it to ghe Front 如: dw_1.SetPosition ( "rr_" + string(i) , "detail", false )
相关文章推荐
- 在for,foreach语句中小心使用控件的SendToBack,BringToFront方法
- 在for,foreach语句中小心使用控件的SendToBack,BringToFront方法
- cocos2d-x-3.x bringToFront & sendToBack实现
- BringToFront、SendToBack - 控件置前与置后
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- 关于sendtoback()和bringtofront() 的理解
- 关于delphi7中Edit菜单栏中bring to Front 和 send to back 连个功能的使用。
- sendSubviewToBack,bringSubviewToFront
- SendToBack() 函数与BringToFront()函数
- bringSubviewToFront()和sendSubviewToBack()
- bringSubviewToFront/sendSubviewToBack/removeFromSuperview
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- 关于sendtoback()和bringtofront() 的理解
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次切换(bringSubviewToFront,sendSubviewToBack)的使用
- C# 关于sendtoback()和bringtofront() 的理解
- SendToBack() 与 BringToFront()
- C# SendToBack和BringToFront理解