Category : Windows 3.X Files
Archive   : PROJ0928.ZIP
Filename : PERTDIAL.CLS

 
Output of file : PERTDIAL.CLS contained in archive : PROJ0928.ZIP
/* PERT Tasks have additional fields that can be edited. */!!

inherit(TaskDialog, #PERTDialog, nil, 2, nil)!!

now(PERTDialogClass)!!

now(PERTDialog)!!

/* Set the values of the activity. */
Def setValues(self | ues, ulf)
{
ues := checkDate(getItemText(self, UES));
ulf := checkDate(getItemText(self, ULF));
setValues(editItem, tuple(
getItemText(self, NAME),
getItemText(self, DESC),
ues,
ulf,
asDec(getItemText(self, LIKELY_TIME)),
asDec(getItemText(self, BEST_TIME)),
asDec(getItemText(self, WORST_TIME)),
asDec(getItemText(self, FC)),
getItemText(self, RES)));
} !!

/* Return the resource ID that should be used with this
dialog box. */
Def res(self)
{
^PERT_BOX;
}!!

/* Initialize the dialog so all fields have the correct values. */
Def initDialog(self, wp, lp)
{
initDialog(self:TaskDialog, wp, lp); /* use ancestor init */

setItemText(self, LIKELY_TIME, asString(getLikelyTime(editItem)));
setItemText(self, BEST_TIME, asString(getBestTime(editItem)));
setItemText(self, WORST_TIME, asString(getWorstTime(editItem)));
}
!!



  3 Responses to “Category : Windows 3.X Files
Archive   : PROJ0928.ZIP
Filename : PERTDIAL.CLS

  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/