Object <- Viewable <- Card <- IndexCard |
|
|
AboutToShow CanAccept DefaultScene GoToVia SendToBack |
|
FirstSectionIndex |
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| Card: | prototypeForm: | Form |
| stack: | StackOfCards | |
| noEnvelope: | Boolean | |
| sentFlag: | Boolean | |
| isEnvelope: | Boolean | |
| isStationery: | Boolean | |
| substitute: | Boolean | |
| suppressCardData: | Boolean | |
| autoAddress: | Boolean | |
| wasSeen: | Boolean | |
| autoPencil: | Boolean | |
| noAutoKeyboard: | Boolean | |
| tempTOCEntry: | Boolean | |
| rightPageEntry: | Boolean | |
| noDrawing: | Boolean | |
| dontPurge: | Boolean | |
| locked: | Boolean | |
| isConfirmed: | Boolean | |
| shrinkToFit: | Boolean | |
| noFileAfterSend: | Boolean | |
| noSubstituteCard: | Boolean | |
| isReadOnly: | Boolean | |
| dontAppearInLog: | Boolean | |
| deliveryReport: | Boolean | |
| createdPostR1: | Boolean | |
| onePagePerCard: | Boolean | |
| IndexCard: | firstSectionIndex: | Unsigned |
| listView1: | ListView | |
| listView2: | ListView |
instance IndexCard tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; prototypeForm: nilObject; stack: nilObject; noEnvelope: false; sentFlag: false; isEnvelope: false; isStationery: false; substitute: false; suppressCardData: false; autoAddress: false; wasSeen: false; autoPencil: false; noAutoKeyboard: false; tempTOCEntry: false; rightPageEntry: false; noDrawing: false; dontPurge: false; locked: false; isConfirmed: false; shrinkToFit: false; noFileAfterSend: false; noSubstituteCard: false; isReadOnly: false; dontAppearInLog: false; deliveryReport: false; createdPostR1: false; onePagePerCard: false; firstSectionIndex: 0; listView1: nilObject; listView2: nilObject; end instance;
Define Class IndexCard; inherits from Card; field firstSectionIndex: Unsigned, getter, setter; // used by corresponding attribute field listView1: ListView; // list view that displays contacts beginning with first letter on this page // the list view is typically in the form rather than the card itself field listView2: ListView; // list view that displays contacts beginning with second letter on this page // the list view is typically in the form rather than the card itself overrides AboutToShow; // sets the lists and titles of the two list views on this page overrides DefaultScene; // returns iNameCardsScene if self it the one index card of the name cards scene attribute FirstSectionIndex: Unsigned; // numeric index for first of two letters on this card (1 = 'A', 3 = 'C', etc.) overrides GoToVia; // goes to name cards scene and displays index if self is the one index card // of the name cards scene overrides SendToBack; // keeps the index tabs behind self overrides CanAccept; // to reject phone and address label stamps end class;