存取图片或文件的内容可以直接存储它们的二进制码
经过自己写代码,发现以下几个问题:
1.直接调用函数GxSelPict会报错,弹出无效对话框,但是调用CALL函数来调用GxSelPict却可以通过,想不通why?
2.函数loadbitmap的使用;帮助文档中提示是这样的:
To display the client's photo on the form you must define a bitmap type variable, e.g. &Photo and place it in the Form by adding the following rule:
Rules:&Photo = loadbitmap(CliPhoto);
可是把loadbitmap函数放在rules中,却又出错"Invalid assignment",放在event中却又不起作用,图片不能呈现出来,搞不懂该怎么用这个函数了!