mdi的opensheet子窗口背景,与其他opensheet子窗口 的显示问题

hexizheng 2005-03-04 02:55:39
我用的是一个 child!类型的子窗口作为mdi的背景,程序开始时用opensheet(w_back,w_main)打开,然后我用opensheet()打开其他子窗口。现在打开没问题,可是一但把他最小化以后,他就不见了,应该是被w_back子窗口挡住了,如何解决,请指教!
...全文
180 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
hexizheng 2005-03-14
  • 打赏
  • 举报
回复
好象不行哦
hornbilltofy 2005-03-14
  • 打赏
  • 举报
回复
使用response类型,用opensheetwithparm()打开
hxora 2005-03-13
  • 打赏
  • 举报
回复
w_back(背景图片子窗口)充满了工作区,但打开其他子窗口后,w_back又不充满工作区了,是怎么回事?
hexizheng 2005-03-08
  • 打赏
  • 举报
回复
其他类型的也一样不行,难道没人知道了,
lian_yi 2005-03-06
  • 打赏
  • 举报
回复
别用child!类型。。。。换一个就行了
hexizheng 2005-03-05
  • 打赏
  • 举报
回复
setwindowpos()也不行啊
hexizheng 2005-03-04
  • 打赏
  • 举报
回复
这个也加了,可是不管用
spring_cj 2005-03-04
  • 打赏
  • 举报
回复
w_back窗口的activate事件加
this.BringtoTop = false
hexizheng 2005-03-04
  • 打赏
  • 举报
回复
且w_back 窗口的Enabled已经置为false了
hexizheng 2005-03-04
  • 打赏
  • 举报
回复
不是opensheet时出问题,而是后来用opensheet打开的子窗口,在最小化以后,本来应该显示在工作区的左下角的,现在由于w_back(背景图片子窗口)充满了工作区,导致后来打开的子窗口被w_back挡住了
hygougou 2005-03-04
  • 打赏
  • 举报
回复
多看帮助

一般用到的

OpenSheet(child_1, MDI_User, 2, Original!)//MDI原始大小模式
OpenSheet(child, "child_1", MDI_User, 4, Layered!)//层模式
hygougou 2005-03-04
  • 打赏
  • 举报
回复
Controls

Window objects

Syntax

OpenSheet ( sheetrefvar {, windowtype }, mdiframe {, position {, arrangeopen } } )
Argument Description
sheetrefvar The name of any window variable that is not an MDI frame window. OpenSheet places a reference to the open sheet in sheetrefvar
windowtype (optional) A string whose value is the data type of the window you want to open. The data type of windowtype must be the same or a descendant of sheetrefvar
mdiframe The name of an MDI frame window
position (optional) The number of the menu item (in the menu associated with the sheet) to which you want to append the names of the open sheets. Menu bar menu items are numbered from the left, beginning with 1. The default value of 0 lists the open sheets under the next-to-last menu item
arrangeopen (optional) A value of the ArrangeOpen enumerated data type specifying how you want the sheet arranged in the MDI frame in relation to other sheets when it is opened:?Cascaded! ?(Default) Cascade the sheet relative to other open sheets, so that its title bar is below the previously opened sheet?Layered! ?Layer the sheet so that it fills the frame and covers previously opened sheets?Original! ?Open the sheet in its original size and cascade it

1,077

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧