home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
w_genapp_sheet.srw
< prev
next >
Wrap
Text File
|
1997-09-30
|
1KB
|
67 lines
$PBExportHeader$w_genapp_sheet.srw
$PBExportComments$Generated MDI sheet window
forward
global type w_genapp_sheet from window
end type
end forward
shared variables
// User defined attributes
// Non modeled user defined attributes
end variables
global type w_genapp_sheet from window
WindowType WindowType = main!
string MenuName = "m_genapp_sheet"
int X = 673
int Y = 265
int Width = 1582
int Height = 1065
boolean TitleBar = true
string Title = "Sheet"
boolean ControlMenu = true
boolean MinBox = true
boolean MaxBox = true
boolean Resizable = true
end type
global w_genapp_sheet w_genapp_sheet
type variables
// User defined attributes
// Association attributes
// Non modeled user defined attributes
// Control to class mappings
// w_genapp_sheet --> w_genapp_sheet
end variables
on w_genapp_sheet.create
if this.MenuName = "m_genapp_sheet" then this.MenuID = create m_genapp_sheet
end on
on w_genapp_sheet.destroy
if IsValid(MenuID) then destroy(MenuID)
end on
event open;int li_Count
/* Sheet opening - reflect sheet count in title */
li_Count = w_genapp_frame.wf_getsheetcount ()
this.Title = "Sheet:" + string (li_Count)
/* Modify menu text for platform */
w_genapp_frame.wf_setmenutext (menuid)
end event
event close;/* Disable printing if last sheet */
if w_genapp_frame.wf_getsheetcount () = 1 then
w_genapp_frame.wf_enableprint (false)
end if
end event