Category : Files from Magazines
Archive   : DBMS0790.ZIP
Filename : WRIGHT1.JUL

 
Output of file : WRIGHT1.JUL contained in archive : DBMS0790.ZIP
Listing 1


/* Tell the EMSForm (EMSApp) to insert this rating action into
the database if all of the parts of the transaction
are present. */
method AddRatingActForm::addRatingAction(self, mp1, mp2)
{
local dept ;
if ( lengthOf( textOf( nameOfIssue ) ) > 1 &&
lengthOf( textOf( issuerName ) ) > 1 &&
lengthOf( textOf( actionDate ) ) > 1 ) {
if ( isHilited( corpFinBtn ) )
dept = "Corporate Finance Department" ;
else dept = "Public Finance Department" ;
addRatingsAction( EMSApp, textOf( nameOfIssue ),
textOf( issuerName ),
textOf( actionDate ),
dept ) ;
destroy( self ) ;
return nil ;
}
else messageBox( self, "EMS Form", "Must complete the form !",
MB_ICONHAND | MB_OK ) ;

return nil;
}

/* The window destroys itself because the user doesn't
want to do anything. */
method AddRatingActForm::cancelAddRating(self, mp1, mp2)
{
destroy( self ) ;
return nil ;
}

/* Handle message from control. */
method AddRatingActForm::selectCorpFin(self, mp1, mp2)
{
hilite( corpFinBtn ) ;
unHilite( pubFinBtn ) ;
return nil;
}

/* Handle message from control. */
method AddRatingActForm::selectPubFin(self, mp1, mp2)
{
hilite( pubFinBtn ) ;
unHilite( corpFinBtn ) ;
return nil;
}

/* Initialize this form by increasing the amount of text that
can be contained in the text entry fields. */
method AddRatingActForm::userInit(self)
{
/* Tell the input controls how text they can accept */
setItemTextLimit( self, ADDRTG_ISSUENAME, 128 ) ;
setItemTextLimit( self, ADDRTG_ISSUERNAME, 128 ) ;
return false ;
}


  3 Responses to “Category : Files from Magazines
Archive   : DBMS0790.ZIP
Filename : WRIGHT1.JUL

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/