home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
TicTacToe.sra
< prev
next >
Wrap
Text File
|
1997-09-30
|
1KB
|
53 lines
$PBExportHeader$tictactoe.sra
$PBExportComments$TicTacToe Common ObjectTeam Example
forward
global transaction sqlca
global dynamicdescriptionarea sqlda
global dynamicstagingarea sqlsa
global error error
global message message
end forward
global type tictactoe from application
end type
global tictactoe tictactoe
type variables
tictactoe_gui gui
end variables
on tictactoe.create
appname = "tictactoe"
message = create message
sqlca = create transaction
sqlda = create dynamicdescriptionarea
sqlsa = create dynamicstagingarea
error = create error
end on
on tictactoe.destroy
destroy( sqlca )
destroy( sqlda )
destroy( sqlsa )
destroy( error )
destroy( message )
end on
event open;/*******************************************************
* Application Open Script
* Opens frame
* An MDI version can be started by commenting the
* 'Open(tictactoe_gui)' and uncomment
* 'Open (tictactoe_frame)'
*/
/* Open window */
Open(tictactoe_gui)
/* Open MDI frame window */
// Open (tictactoe_frame)
end event