起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 149|回复: 6

【结帖】【请求】X3中一些函数问题**

[复制链接]
发表于 2008-7-30 17:49:53 | 显示全部楼层 |阅读模式
例如:在DELPHI中有messagedlg函数,X3中的是封装后的jsDialogs.showmsg函数,请问有相关的文档可以参考吗?
回复

使用道具 举报

发表于 2008-7-30 17:52:18 | 显示全部楼层
NameSpace: Business.Forms
--------------------------------------------------------------------------------
jsDialogs = class(System.Object)
public
  static function BrowseForComputer(Caption: string; ComputerName: string): Boolean;
  static function BrowseForDirectory(Caption: string; Directory: string): Boolean;
  static function BrowseForFolder(Caption: string; Root: Longint; Flags: Longint; CallBackParam: Longint; CallBackProc: to do; FolderName: string; FullName: string; Image: Longint): Boolean;
  static function ConfirmAndWarnigBox(Text: string; Caption: string; DefaultButton: Longint): Boolean;
  static function ConfirmBox(Text: string; Caption: string; DefaultButton: Longint): Boolean;
  static function ConfirmBoxExt(ACaption: string; APrompt: string; ShowWarnigIcon: Boolean; ACustomIcon: Business.System.TIcon): Longint;
  static function InputBox(ACaption: string; APrompt: string; ADefault: string): string;
  static function InputQuery(ACaption: string; APrompt: string; Value: string): Boolean;
  static function MsgBox(Handle: Longword; Text: string; Caption: string; Flags: Longword): Longint;
  static function OkCancelBox(Text: string; Caption: string; DefaultButton: Longint): Boolean;
  static function QuestionBox(Text: string; Caption: string; DefaultButton: Longint): Longint;
  static function RetryIgnoreBox(Text: string; Caption: string; DefaultButton: Longint): Longint;
  static procedure ShowError(Text: string; Caption: string);
  static procedure ShowMsg(Text: string; Caption: string);
  static procedure ShowWarning(Text: string; Caption: string);
end;
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-30 17:55:42 | 显示全部楼层
在协同平台里的具体位置可以告知吗?
回复 支持 反对

使用道具 举报

发表于 2008-7-30 17:56:08 | 显示全部楼层
在帮助里有的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-30 17:58:05 | 显示全部楼层
是用户手册,还是FAQ,刚看了一下,没找到
回复 支持 反对

使用道具 举报

发表于 2008-7-30 18:10:17 | 显示全部楼层
都不是,是 XXX\X3 Developer\help\StudioHelp
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-30 19:22:53 | 显示全部楼层
谢谢,结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-19 20:34 , Processed in 0.039382 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表