User Tools

Site Tools


area_area_properties

This is an old revision of the document!


property constant can read can write persi
stent
type defaultmin max usage
CS_Area_Kind text Object kind = “CS”
CS_Area_XML text Full description of the area in XML
CS_Area_Nametext Name of the area
If empty, variable name from design
CS_Area_UserBLOBBLOB BLOB for free use by developer
CS_Area_IsArea bool Is this an CS area?
CS_Area_Visible bool Area is visible
Set to false before showing another dialog over CS to hide scrollbars…
CS_Area_Selected bool Is selected (has focus in 4D)
CS_Area_ScrollLeft real Horizontal scroll position
In points
CS_Area_ScrollTop real Vertical scroll position
In points
CS_Area_Compatibility intDepends on initialization030 = only new API used
1 = old CS (arrays) API used
2 = Agenda (fields) API used
3 = both old CS & Agenda API used
CS 4/Agenda compatibility mode
CS_Area_Self pointer Pointer to the area object
CS_Area_ViewModeint0050 = old month
1 = day
2 = day range
3 = work week
4 = week
5 = month
CS_Area_CurrentUser int0 Currently used only in Agenda compatibility
CS_Area_DefaultICal int Default iCal owned by the area
Calendar number of the implicit default Calendar
CS_Area_TimeZone text Area's time zone
CS_Area_VisibleDaystext1111111 Which days should be visible
0 = invisible or 1 = visible for every day starting at Sunday
e.g.to hide Saturday, use “1111110”
CS_Area_FirstDayint-1-16First day of week
-1 = use workstation system setting
0 = Sunday
1 = Monday…
CS_Area_StartDate date Start date of the date range to display
Not necessarily the first visible day
CS_Area_EndDate date End date of the date range to display
Used in old month view and day range view
CS_Area_DisplayUnusedint202What to display in used (out of date range) cells
0 = nothing
1 = day
2 = events
CS_Area_DisplayMonthint102Display month name on month change, even in Day/Week view
Value 2 means the month is displayed with year in OldMonth/Month views
CS_Area_DisplayWeekbool001Display week number in first column
CS_Area_DisplayBannersbool101Display banners (all-day events)
Default is 0 for Agenda API
CS_Area_DisplayEventTimesbool101Display event times in month view
CS_Area_AllowBannerSelectbool101Allow banners selection
CS_Area_AllowBannerResizebool101Allow banners resizing
CS_Area_AllowEventSelectbool101Allow events selection
CS_Area_AllowEventResizebool101Allow events resizing
CS_Area_HighlightModeint102Highlight mode of the day
0 = none
1 = entire cell
2 = day number
CS_Area_DaySelectionTypeint0020 = one day
1 = multiple
2 = discontiguous
CS_Area_SelectMultiplebool001Allow multiple events/banners selection
CS_Area_AllowDragNewEventbool001
CS_Area_AllowDeleteEventbool001Allow DEL key
CS_Area_StartHourint0023Specifies if any hours at the beginning of the day should be hidden (0 - 23)
CS_Area_EndHourint24124Specifies if any hours at the end of the day should be hidden (1 - 24)
CS_Area_StartWorkHourint8023Specifies if any hours at the beginning of the day should be grayed out
CS_Area_EndWorkHourint18024Specifies if any hours at the end of the day should be grayed out
CS_Area_TimeRoundingint105Time rounding for dragging
0 = none
1 = 5 minutes
2 = 10 min.
3 = 15 min.
4 = 30 min.
5 = 60 minutes
CS_Area_ScaleRowsreal0064Coefficient for computing the row height:
0 = automatic (fit into view), > 0: multiply by 48 to get the row height in points
CS_Area_ScaleColumnsreal0064coefficient for computing the column width:
0 = automatic (fit into view), > 0: multiply by 128 to get the column width in points
CS_Area_EventColumnationint0-100256Columnation for overlapping events
0 = no overlap
<0 = overlap as percentage of column width
>0 = overlap in points
CS_Area_DayColor0color0 Background color for Sunday
CS_Area_DayColor1color0 Background color for Monday
CS_Area_DayColor2color0 Background color for Tuesday
CS_Area_DayColor3color0 Background color for Wednesday
CS_Area_DayColor4color0 Background color for Thursday
CS_Area_DayColor5color0 Background color for Friday
CS_Area_DayColor6color0 Background color for Saturday
CS_Area_ClickedDate int Last clicked cell
POSIX time of the clicked position
CS_Area_ClickedEventType int Last clicked event type
CS_Area_ClickedEventIndex int Last clicked event index
CS_Area_ClickedEventID text
CS_Area_FirstVisibleDate date Date of the first cell in the view (column in day/week views)
CS_Area_LastVisibleDate date Date of the last cell in the view (column in day/week views)
area_area_properties.1500051404.txt.gz · Last modified: 2017/07/14 18:56 by cs_admin