找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

巢课
电巢直播8月计划
查看: 1322|回复: 3
打印 上一主题 下一主题

[HELP] SKILL ERROR

[复制链接]

2

主题

53

帖子

-8918

积分

未知游客(0)

积分
-8918
跳转到指定楼层
1#
发表于 2009-7-23 15:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您!

您需要 登录 才可以下载或查看,没有帐号?注册

x
求助下列ERROR MESSAGE是错在哪里
E- *Error* axlGRPDrwInit: argument #1 should be any user-defined (other) type (type template = "otg") – nil

procedure( IFormTest(fw)

prog( (position)

; need to do this since have a return


;; Good pratice


;; If form is open expose it and return


(cond (fw



(axlUIWExpose fw)


(return fw)


)


)


position = '("NE")


;; no msg lines in form


position = '("NE" "msglines" 1)



;; create a form handle, position form and set-up mode


fw = axlFormCreate('f1s "axlform" position '_afCallback t nil )



bitmap_handle = axlGRPDrwInit(fw "bitmap" 'FlipIt)


bitmap_handle->Flip = 0


graphic_handle = axlGRPDrwInit(fw "graphic" 'FlipIt)


graphic_handle->Flip = 1


fw->Bitmap_handle = bitmap_handle


fw->Graphic_handle = graphic_handle



;; Set a better title then the form file


axlFormTitle(fw "--F1-- Skill Test Form" )

   

;; Build a dynamic popup for enum field


;axlFormBuildPopup(fw "enum" '(("item1" "1") ("item2" "2") ("item3" "3")) )


axlFormBuildPopup(fw "enum" '(("item1") ("item2") ("item3")) )



; demostrate color and font type in popups


axlFormBuildPopup(fw "enumcolor"




'(("green" 1 green)



("yellow" 2 yellow bold)


("red" 3 red underline)


("blue" 4 blue )


("button" 5 button )


("black" 6 black )


("white" 7 white )


("Bold" 8 bold )


("Underline" 9 underline )


) )



;; Set form fields to starting values



IFormRefresh(fw)



;; Last thing to do is display the form


axlFormDisplay(fw)



return(fw)

; return form handle to caller


)

)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏1 支持!支持! 反对!反对!

2

主题

53

帖子

-8918

积分

未知游客(0)

积分
-8918
2#
 楼主| 发表于 2009-8-3 09:03 | 只看该作者
已解决

3

主题

23

帖子

-8916

积分

未知游客(0)

积分
-8916
3#
发表于 2011-5-26 14:51 | 只看该作者
回复 seanhung99 的帖子

怎么解决的,急求,谢谢

117

主题

2352

帖子

1万

积分

EDA365特邀版主

Rank: 6Rank: 6

积分
13799

最佳敬业奖

4#
发表于 2011-5-27 10:06 | 只看该作者
把axlform.form放到当前工作目录下面
谁画出这天地 又画下我和你
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

巢课

技术风云榜

关于我们|手机版|EDA365 ( 粤ICP备18020198号 )

GMT+8, 2025-2-25 05:51 , Processed in 0.058758 second(s), 34 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

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