【问题标题】:view error Rebol 3查看错误 Rebol 3
【发布时间】:2015-07-13 15:04:56
【问题描述】:

我正在尝试将 gui 添加到我的程序中,但这样做有困难。

>> system/version
== 3.0.0.4.40

http://atronixengineering.com/downloads.html下载

首先,我在哪里可以找到我的解释器版本的 guie 的示例和文档?

有一些documentation,但它不起作用。

REBOL []
do %./r3-gui.r3

view [
    title "Simple Form"
    panel 2 [
        label "Name:"
        field
        label "Message:"
        area
    ]
    button "Cancel" close
]

错误信息:

** GUI ERROR: Cannot parse the GUI dialect at: panel 2 [
    label "Name:"
    field
    label "Message:"
    area
]
button "Cancel"

编辑:panel 2 返回错误。如果我删除它,button 会出现另一个错误。

【问题讨论】:

    标签: rebol rebol3


    【解决方案1】:

    我尝试了开发版本。这是有效的。

    load-gui 
    view [
      title "Simple Form"
      vpanel  [
        label "Name:"
        field
        label "Message:"
        area
      ] options [box-model: 'frame]
      button "Cancel" on-action [close-window face]
    ]
    

    有一个demo application,你可以从demo开始,作为例子。

    你提到的文档是指 Carl S. 的实现,它不同于 atronix 和 saphirion 版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多