home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
EASL2PRF.ZIP
/
PROFVIEW.EAL
< prev
next >
Wrap
Text File
|
1989-11-28
|
2KB
|
91 lines
#
# Generated by Layout/CUA
# (Layout/CUA COPYRIGHT (C) INTERACTIVE IMAGES, INC. 1989. ALL RIGHTS RESERVED)
# Code generated on TUESDAY NOVEMBER 28, 1989 at TIME 12:47:45
#
module M3270
include accel.inc
boolean variable DidOKCUA
string Sar_string
#
# Action Bar Template Definition(s)
#
action bar PrimaryWindowABCUA is
pulldown AB_View text "~View"
choice View text "~View Host Screen"
choice ExitCUA text "E~xit\tF3"
accelerator is KEY_F3
end pulldown
pulldown PFKeys text "~PF Keys"
choice PF1 text "PF1"
choice PF12 text "PF12"
choice Cut text "Cu~t\tShift+Del"
accelerator is shift KEY_DELETE
choice Copy text "~Copy\tCtrl+Ins"
accelerator is control KEY_INSERT
choice Paste text "~Paste\tShift+Ins"
accelerator is shift KEY_INSERT
separator
choice Clear text "Cl~ear\tDel"
accelerator is KEY_DELETE
end pulldown
end action bar
#
# Primary Window Textual Region Definition
#
enabled visible color 26 primary textual region PrimaryWindow
size 510 280
at position 26 40
color 27 foreground
size border
title bar "Primary Window"
system menu
horizontal scroll bar scroll by 6
vertical scroll bar scroll by 16
no scale
action bar PrimaryWindowABCUA
minimize button
maximize button
font "asc510.fnt"
#
# Response Definition(s)
#
response to start
action Init3270
response to item ExitCUA from PrimaryWindowABCUA
action Stop3270
exit
response to item View from PrimaryWindowABCUA
clear PrimaryWindow
# action ScanScreen
copy 10 to Row
action ReadLine
copy LineText to Sar_string
add to PrimaryWindow
insert Sar_string
# copy "PrimaryWindow" to TextRegionName
# action ReadScreen
response to item PF1 from PrimaryWindowABCUA
clear PrimaryWindow
copy 1 to PFkeyNumber
action PressPFkey
copy "PrimaryWindow" to TextRegionName
action ReadScreen
response to item PF12 from PrimaryWindowABCUA
clear PrimaryWindow
copy 12 to PFkeyNumber
action PressPFkey
copy "PrimaryWindow" to TextRegionName
action ReadScreen