property Chart.TimeZoneFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Variant
Retrieves the time-zone from the cursor.

 TypeDescription 
   X as OLE_XPOS_PIXELS A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates.  
   Y as OLE_YPOS_PIXELS A single that specifies the current Y location of the mouse pointer. The y values is always expressed in client coordinates.  
   Variant A String expression that indicates the key of the date-time zone from the cursor, or empty value if there is no date-time zone.  
The TimeZoneFromPoint property retrieves the key of the time-zone from the cursor. A zone can be used to highlight a range of dates, specifying the start and end zone.  The TimeZoneInfo property retrieves information about the time-zone giving its key.  The DateFromPoint property gets the date from point.  Use the MarkTimeZone method to highlight different time-zones. Use the RemoveTimeZone method to delete the time zone being added previously using the MarkTimeZone method. The MarkTodayColor property specifies the color to mark the today date. Use the SelectDate property to select a date by clicking the chart's header. Use the MarkNowColor property to show a vertical bar that indicates the current date-time in the control's chart, from seconds to seconds, minutes, and so on. If the X parameter is -1 and Y parameter is -1 the TimeZoneFromPoint property determines the key of the date-time zone from the cursor.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.