Project 2000. The Network Diagram View, страница 9

FontColor

Optional Long. The color of the font. Can be one of the following PjColor constants:

  PjColorAutomatic   pjAqua   pjBlack   pjBlue   pjFuschia   pjGray   pjGreen   pjLime   pjMaroon

pjNavy pjOlive pjPurple pjRed pjSilver pjTeal pjYellow pjWhite

Bold

Optional Boolean. True if the font is bold.

Italic

Optional Boolean. True if the font is italic.

Underline

Optional Boolean. True if the font is underlined.

HorizontalAlignment

Optional Long. A constant that specifies how to horizontally align the text in the cell. Can be one of the following PjAlignment constants: pjLeft, pjCenter, or pjRight.

VerticalAlignment

Optional Long. A constant that specifies how to vertically align the text in the cell. Can be one of the following PjVerticalAlignment constants: pjTop, pjMiddle, or pjBottom.

TextLineslimit

Optional Long. The maximum number of lines of text permitted in the cell. Can be on of the following PjTextLine constants: pjLine1, pjLine2, pjLine3.

ShowLabel

Optional Boolean. True if a label should be displayed before the field data in the cell.

Label

Optional String. The label to display before the field data in the cell when ShowLabel is True.


DateFormat

Optional Long. The date format for the cell when the field specified in FieldName is a date field. Can be one of the following PjDateFormat constants:

Constant

Date format applied to 9/30/97 (12:33 PM)

PjDateDefault

The default format, as specified on the View tab of the Options dialog box.

pjDate_mm_dd_yy_hh_mmAM pjDate_mm_dd_yy pjDate_mm_dd_yyyy pjDate_mmmm_dd_yyyy_hh_mmAM pjDate_mmmm_dd_yyyy pjDate_mmm_dd_hh_mmAM pjDate_mmm_dd_yyy pjDate_mmmm_dd pjDate_mmm_dd pjDate_ddd_mm_dd_yy_hh_mmAM pjDate_ddd_mm_dd_yy pjDate_ddd_mmm_dd_yyy pjDate_ddd_hh_mmAM pjDate_mm_dd pjDate_dd pjDate_hh_mmAM pjDate_ddd_mmm_dd pjDate_ddd_mm_dd pjDate_ddd_dd pjDate_Www_dd pjDate_Www_dd_yy_hh_mmAM

9/30/97 12:33 PM 9/30/97 9/30/1997 September 30, 1997 12:33 PM September 30, 1997 Sep 30 12:33 PM Sep 30, '97 September 30 Sep 30 Tue 9/30/97 12:33 PM Tue 9/30/97 Tue Sep 30, '97 Tue 12:33 PM 9/30 30 12:33 PM Tue Sep 30 Tue 9/30 Tue 30 W41/2 W41/2/97 12:33 PM

Remarks

If no arguments other than Name and Cell are specified, the BoxCellEdit method has no effect.


BoxLayout Method

Controls the layout of boxes in the active Network Diagram.

Syntax

expression.BoxLayout (LayoutMode, LayoutScheme, SummaryPrecedence, RowAlignment, ColumnAlignment, RowSpacing, ColumnSpacing, RowHeight, ColumnWidth, AdjustForPageBreaks, ShowSummaryTasks, ViewBackgroundColor, ViewBackgroundPattern, ShowProgressMarks, ShowPageBreaks, ShowIDOnly)