File: messageBox.gfd

package info (click to toggle)
gnue-forms 0.5.11-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,384 kB
  • ctags: 1,577
  • sloc: python: 12,904; sql: 579; makefile: 28
file content (37 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>

<!--  GNUe Forms 0.5.0 Migration Tool
      Saved on: 2003-03-05 18:31:36  -->

<form style="dialog" name="_messageBox">
  <trigger type="On-Startup">
    form.setFeature('GUI:MENUBAR:SUPPRESS',1)
    form.setFeature('GUI:TOOLBAR:SUPPRESS',1)
    form.setFeature('GUI:STATUSBAR:SUPPRESS',1)
  </trigger>
  <trigger type="on-activation" name="activate">
    messageBlock.caption = getParameter('caption')
    messageBlock.message = getParameter('message')
    _messageBox.setTitle(getParameter('title'))
  </trigger>
  <options/>
  <logic>
    <block name="messageBlock">
      <field name="caption"/>
      <field name="message" readonly=""/>
    </block>
  </logic>
  <layout xmlns:c="GNUe:Layout:Char" c:height="9" c:width="30">
    <page name="Page_1">
      <entry block="messageBlock" field="caption" style="label" c:width="28"
             c:x="1" c:y="1"/>
      <entry block="messageBlock" field="message" c:height="5" 
             c:width="28" c:x="1" c:y="3"/>
      <button name="ok" c:height="1" label="OK" c:width="4" c:x="13" c:y="8">
        <trigger name="ok" type="On-Action">
           close()
        </trigger>
      </button>
    </page>
  </layout>
</form>