请问关于OpenSheetWithParm打开窗口问题,谢谢!

luccy 2003-01-13 11:49:46
1.函数OpenSheetWithParm ( sheetrefvar, parameter {, windowtype }, mdiframe{, position {, arrangeopen } } )的参数是什么意思?
2.我想sheetrefvar窗口停留在mdiframe窗口的中央位置,怎么弄?
...全文
141 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
dotnba 2003-01-13
  • 打赏
  • 举报
回复
敬请关注:
SharePoint Portal Server 问题,
http://expert.csdn.net/Expert/topic/1352/1352718.xml?temp=9.362429E-02
skywalkerdjy 2003-01-13
  • 打赏
  • 举报
回复
1,帮助中不是都有吗?
2,你设置窗口属性就可以了啊!
myclife 2003-01-13
  • 打赏
  • 举报
回复
sheetrefvar 子窗口名称
parameter 传递的参数
mdiframe MDI主窗口名称
position 可选参数,所打开的工作表名作为菜单项显示在第几个菜但位置上
arrangeopen 枚举类型,可选参数,如何显示打开的工作表
chinesegump 2003-01-13
  • 打赏
  • 举报
回复
1、参数就是你打开的sheetrefvar时你想要传的,
2、在sheetrefvar的open事件里写居中函数
leepoy 2003-01-13
  • 打赏
  • 举报
回复
多看看PB里的帮助,里面说得很清楚的
boyliulang 2003-01-13
  • 打赏
  • 举报
回复
这样台乱了,看看pb本身的帮助吧
boyliulang 2003-01-13
  • 打赏
  • 举报
回复
OpenSheetWithParm ( sheetrefvar, parameter {, 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
parameter The parameter you want to store in the Message object when the sheet is opened. Parameter must have one of these data types:?String?Numeric?PowerObject
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 the MDI frame window in which you want to open this sheet.
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 is to list 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 sheets arranged in the MDI frame when they are 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
数组函数 Pos() CloseChannel() PrintSetFont() lowerBound() Replace() ExeclRemote() PrintSetSpacing() UpperBound() Right() GetDataDDEOrigin() PrintSetup() RightTrim() GetRemote() PrintText() Blob(大二进制对象)函数 Space() OpenChanner() PrintWindth() Blob() Trim() RespondRemote() PrintX() BlobEdit() Upper() SetRemote() PrintY() BlobMid() StartHotLink() Len() 系统与环境函数 StopHotLink() 窗口操作函数 String() Clipboard() Close() CommandParm() DDE服务器函数 CloseWithReturn() 数据类型检查与转换函数 DoScript() GetCommandDDE() Open() Asc() GetApplication() GetCommandDDEOrigin() OpenSheet() Char() GetEnvironment() GetDataDDE() OpenSheetWithParm() Dec() GetFocus() GetDataOrigin() OpenWithParm() Double() Post() RespondRemote() Integer() ProfileInt() SetDataDDE() 国际化函数 Long() ProfileString() StartServerDDE() IsAllArabic() Real() Restart() StopServerDDE() IsAllHebew() Date() Run() IsAnyArabic() DateTime() Send() 文件操作函数 IsAnyHebrew() IsNumber() SetProfileString() FileClose() IsArabic() IsTime() ShowHelp() FileDelete() IsArabicAndNumbers() Time() SignalError() FileExists() IsHebrew() Yield() FileLength() IsHebrewAndNumbers() 数值计算函数 FileOPen() Reverse() Abs() 日期、时间函数 FileRead() ToAnsi() Ceiling() Day() FileSeek() ToUnicode() Cos() DayName() FileWrite() Exp() DayNumber() GetFileOpenName() 其他函数 Fact() DaysAfter() GetFileSaveName() Beep() Int() Hour() ClassName() Log() Minute() 库管理函数 DebugBreak() logTen() Month() LibraryCreate() IntLow() Max() Now() LibraryDelete() IsValid() Min() RelativeDate() LibraryDirectory() KeyDown() Mod() RelativeTime() LibraryExport() MessageBox() Pi() Second() LibraryImport() PixelsToUnits() Rand() Today() PopulatError() Randomize() Year() 打印函数 RGB() Round() Print() SetNull() Sign() 注册(Registry)函数 PrintBitmap() SetPointer() Sin() RegistryDelete() PrintCancel() SignalError() Sqrt() RegistryGet() PrintClose() UnitsToPixels() Tan() RegistryKeys() PrintDataWindow() Truncate() RegistrySet() PrintDefineFont() RegistryValues() PrintLine() 字符串操作函数 PrintOpen() Fill() 定时函数 PrintOval() Left() CPU() PrintPage() LeftTrim() Idle() PrintRect() Lower() Timer() PrintRoundRect() Match() PrintScreen() Mid() DDE客户函数 PrintSend()

1,072

社区成员

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

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