Type | Description | |||
Double | A double expression that indicates the height of the event to be shown in All-Day header. A positive value is multiplied with the font's height, while a negative value indicates a fixed height. For instance, 1 indicates that's the event's height is indicated by the control's font, while -20 indicates that the event's height is 20 pixels. |
The following screen shot shows the events in the All-Day header with the following EBN files:
The following screen shot shows the events in the All-Day header with no EBN files:
The following template x-script ( exhelper ), shows how to assign EBN appearance to events, including the next, prev signs:
BeginUpdate OnResizeControl = 2048 ShowAllDayHeader = True Calendar { SelectDate(#5/8/2012#) = True Select(3) SelectDate(#5/15/2012#) = False Select(19) } VisualAppearance.Add(1,"E:\Exontrol\ExG2antt\sample\EBN\gtask.ebn") VisualAppearance.Add(2,"E:\Exontrol\ExG2antt\sample\EBN\gnext.ebn") VisualAppearance.Add(3,"E:\Exontrol\ExG2antt\sample\EBN\gprev.ebn") BodyEventBackColor = 0x1000000 Background(86) = 0x2000000 Background(85) = 0x3000000 HeaderAllDayEventHeight = -20 Events.Add(#5/8/2012#,#5/17/2012#).AllDayEvent = True EndUpdate()