The information layout of all appointment lead areas.
Usage
Set_Property(OLECtrlEntID, "OLE.LeadLayout", Array)
Values
Array has the following structure:
Pos | Name | Type | Description |
---|---|---|---|
<0, 1> | Type | Option | The type of layout item |
<0, 2> | Location | Multivalue | The size and location of the item |
<0, 3> | Value | Text | The item's value; depends on type |
<0, 4> | Settings | Multivalue | The item's special settings; depends on type |
<0, 5 | Font | Font | The item's font |
<0, 6> | Horizontal Alignment | Option | The horizontal alignment of the item's text |
<0, 7> | Vertical Alignment | Option | The vertical alignment of the item's text |
<0, 8> | Multilined | Boolean | Indicates whether or not the item's text is displayed as multilined |
<0, 9> | Background Effect | Option | The item's background effect |
<0, 10> | Word Wrap | Boolean | Indicates whether or not the item's text is word wrapped when multilined |
Remarks
The LeadLayout property allows you to customize how information appears on an appointment's lead time area. This property has the same structure and functionality as the Layout property. The only difference is that this layout affects only the lead time area.
Example
// Show the appointment's lead time completely centered Layout<1, 1> = "APPTDATA" ;// We want to show appointment data Layout<1, 2> = 0:@SVM:0:@SVM:-1:@SVM:-1 ;// Fill up the entire lead time area Layout<1, 3> = "LEAD" ;// Value: Show the name Layout<1, 4> = "mmmm 'Mins'" ;// Settings: Format (show total minutes) Layout<1, 5> = "" ;// Default Font: Tahoma, 8 pt. Layout<1, 6> = "Center" ;// Center it Layout<1, 7> = "Center" ;// Center it vertically too Layout<1, 8> = 0 ;// Singleline Layout<1, 9> = "" ;// No background effect Layout<1, 10> = 0 ;// Turn word wrap off Set_Property(@Window:".OLE_SCHEDULE", "OLE.LeadLayout", Layout)