Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
desktop:datetimepicker [2018/04/14 11:09]
127.0.0.1 external edit
desktop:datetimepicker [2019/10/23 00:53] (current)
Line 3: Line 3:
 | SelectionTypes | Single = 0 | | SelectionTypes | Single = 0 |
 | ::: | Multiple = 1 | | ::: | Multiple = 1 |
 +| ::: | Range = 2 |
 | ViewTypes | Month = 0 | | ViewTypes | Month = 0 |
 | ::: | Year = 1 | | ::: | Year = 1 |
Line 15: Line 16:
 ^ Definition      ^ Description       ^ ^ Definition      ^ Description       ^
 | DateClick( newDate as Date ) | The user clicked on a date. | | DateClick( newDate as Date ) | The user clicked on a date. |
-| MonthClick( theMonth as [[http://developer.xojo.com/integer|Integer]] ) | The user clicked on a month. |+| MonthClick( theMonth as Integer ) | The user clicked on a month. |
 | MouseOverDate( overDate as Date ) | The user moved their mouse over a date. | | MouseOverDate( overDate as Date ) | The user moved their mouse over a date. |
-| MouseOverMonth( theMonth as [[http://developer.xojo.com/integer|Integer]] ) | The user moved their mouse over a month. | +| MouseOverMonth( theMonth as Integer ) | The user moved their mouse over a month. | 
-| MouseOverYear( theYear as [[http://developer.xojo.com/integer|Integer]] ) | The user moved their mouse over a year. |+| MouseOverYear( theYear as Integer ) | The user moved their mouse over a year. |
 | SelectionChanged() | The user has select or deselected dates. | | SelectionChanged() | The user has select or deselected dates. |
-| TimeChange( Hour as [[http://developer.xojo.com/integer|Integer]], Minute as [[http://developer.xojo.com/integer|Integer]] ) | The user has changed the time values. | +| TimeChange( Hour as Integer, Minute as Integer ) | The user has changed the time values. | 
-| YearClick( theYear as [[http://developer.xojo.com/integer|Integer]] ) | The user has clicked a year. |+| YearClick( theYear as Integer ) | The user has clicked a year. |
  
 ==== Methods ==== ==== Methods ====
Line 34: Line 35:
 | SelectDate( theDate as Date ) | Adds a date to the selection if multiple selections are possible, otherwise sets the current selection to theDate. | | SelectDate( theDate as Date ) | Adds a date to the selection if multiple selections are possible, otherwise sets the current selection to theDate. |
 | SetTime( d as Date ) | Sets the displayed time to the specified value. | | SetTime( d as Date ) | Sets the displayed time to the specified value. |
-| SetTime( intHour as [[http://developer.xojo.com/integer|Integer]], intMinute as [[http://developer.xojo.com/integer|Integer]] ) | ::: |+| SetTime( intHour as Integer, intMinute as Integer ) | ::: |
 | ShowDate( theDate as Date, theView as ViewTypes ) | Switches to theView type and brings theDate in to view. | | ShowDate( theDate as Date, theView as ViewTypes ) | Switches to theView type and brings theDate in to view. |
  
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description       ^ ^ Name      ^ Type       ^ Default Value       ^ Description       ^
-| ArrowColor | [[http://developer.xojo.com/color|Color]] | &c000000 | Color of the arrows to navigate. | +| ArrowColor | Color | &c000000 | Color of the arrows to navigate. | 
-| ArrowColorHover | [[http://developer.xojo.com/color|Color]] | &c000000 | Color of the navigation arrows when hovered. | +| ArrowColorHover | Color | &c000000 | Color of the navigation arrows when hovered. | 
-| ArrowColorHoverBG | [[http://developer.xojo.com/color|Color]] | &c000000 | Background color of navigation arrows when hovered. | +| ArrowColorHoverBG | Color | &c000000 | Background color of navigation arrows when hovered. | 
-| BGColor as [[http://developer.xojo.com/color|Color]] | [[http://developer.xojo.com/color|Color]] | &c000000 | Background color for all views. | +| BGColor as Color | Color | &c000000 | Background color for all views. | 
-| BorderSize | [[http://developer.xojo.com/integer|Integer]] | 5 | Size of padding around the outside of the views. | +| BorderSize | Integer | 5 | Size of padding around the outside of the views. | 
-| CurrentDateBGColor | [[http://developer.xojo.com/color|Color]] | &c000000 | Background color of current date in view. | +| CurrentDateBGColor | Color | &c000000 | Background color of current date in view. | 
-| DaysBold | [[http://developer.xojo.com/boolean|Boolean]] | False | Display days in bold. | +| DaysBold | Boolean | False | Display days in bold. | 
-| DaysFontName | [[http://developer.xojo.com/string|String]] | "System" | Font used to draw days. | +| DaysFontName | String | "System" | Font used to draw days. | 
-| DaysFontSize | [[http://developer.xojo.com/integer|Integer]] | 0 | Font size for drawing days. | +| DaysFontSize | Integer | 0 | Font size for drawing days. | 
-| DaysItalic | [[http://developer.xojo.com/boolean|Boolean]] | False | Display days italicized. | +| DaysItalic | Boolean | False | Display days italicized. | 
-| DaysTextColor | [[http://developer.xojo.com/color|Color]] | &c000000 | Color of days. | +| DaysTextColor | Color | &c000000 | Color of days. | 
-| DaysUnderline | [[http://developer.xojo.com/boolean|Boolean]] | False | Underline days. | +| DaysUnderline | Boolean | False | Underline days. | 
-| HeaderBGColor | [[http://developer.xojo.com/color|Color]] | &c000000 | Background color of the view header area. | +| HeaderBGColor | Color | &c000000 | Background color of the view header area. | 
-| HeaderBold | [[http://developer.xojo.com/boolean|Boolean]] | False | Make header text bold. | +| HeaderBold | Boolean | False | Make header text bold. | 
-| HeaderCornerRadius | [[http://developer.xojo.com/integer|Integer]] | 0 | Draw rounded corners on header background>+| HeaderCornerRadius | Integer | 0 | Draw rounded corners on header background>
-| HeaderFontName | [[http://developer.xojo.com/string|String]] | "System" | Font name used to draw header text. | +| HeaderFontName | String | "System" | Font name used to draw header text. | 
-| HeaderFontSize | [[http://developer.xojo.com/integer|Integer]] | 0 | Size of font in header. | +| HeaderFontSize | Integer | 0 | Size of font in header. | 
-| HeaderItalic | [[http://developer.xojo.com/boolean|Boolean]] | False | Italicize header text. | +| HeaderItalic | Boolean | False | Italicize header text. | 
-| HeaderUnderline | [[http://developer.xojo.com/boolean|Boolean]] | False | Underline header text. | +| HeaderUnderline | Boolean | False | Underline header text. | 
-| Locale_Days | [[http://developer.xojo.com/string|String]] | "Su;Mo;Tu;We;Th;Fr;Sa" | Text to use for days names. | +| Locale_Days | String | "Su;Mo;Tu;We;Th;Fr;Sa" | Text to use for days names. | 
-| Locale_Months | [[http://developer.xojo.com/string|String]] | "Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec" | Text to use for month names. | +| Locale_Months | String | "Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec" | Text to use for month names. | 
-| LockView | [[http://developer.xojo.com/boolean|Boolean]] | False | When true, does not allow the user to navigate between views. | +| LockView | Boolean | False | When true, does not allow the user to navigate between views. | 
-| MonthTextColor | [[http://developer.xojo.com/color|Color]] | &c000000 | Text color of month names. | +| MonthTextColor | Color | &c000000 | Text color of month names. | 
-| SelectedDateBackground | [[http://developer.xojo.com/color|Color]] | &c000000 | Background color of currently selected dates. | +| SelectedDateBackground | Color | &c000000 | Background color of currently selected dates. | 
-| SelectedDateText | [[http://developer.xojo.com/color|Color]] | &c000000 | Foreground color of selected dates. |+| SelectedDateText | Color | &c000000 | Foreground color of selected dates. |
 | SelectionType | GraffitiDateTimePicker.SelectionTypes | SelectionTypes.Single | Sets the selection type, either Single or Range. | | SelectionType | GraffitiDateTimePicker.SelectionTypes | SelectionTypes.Single | Sets the selection type, either Single or Range. |
-| ShowNavigation | [[http://developer.xojo.com/boolean|Boolean]] | True | Draws buttons for navigating from month-to-month, year-to-year, etc. | +| ShowNavigation | Boolean | True | Draws buttons for navigating from month-to-month, year-to-year, etc. | 
-| Time24Hour | [[http://developer.xojo.com/boolean|Boolean]] | False | Displays time in 24-hour instead of 12-hour with AM/PM when true. | +| Time24Hour | Boolean | False | Displays time in 24-hour instead of 12-hour with AM/PM when true. | 
-| TimeHeader | [[http://developer.xojo.com/string|String]] | "" | Text to display in the Time view header. | +| TimeHeader | String | "" | Text to display in the Time view header. | 
-| TimeTextSize | [[http://developer.xojo.com/integer|Integer]] | 24 | Size of the time text. | +| TimeTextSize | Integer | 24 | Size of the time text. | 
-| UseCustomColors | [[http://developer.xojo.com/boolean|Boolean]] | False | Overrides default colors with those from properties. |+| UseCustomColors | Boolean | False | Overrides default colors with those from properties. |
 | ViewDate | Date | Today | The date that is currently being viewed in the control. | | ViewDate | Date | Today | The date that is currently being viewed in the control. |
-| ViewSelectorColor | [[http://developer.xojo.com/color|Color]] | &c000000 | Color to draw the view selector icon. | +| ViewSelectorColor | Color | &c000000 | Color to draw the view selector icon. | 
-| ViewSelectorHoverBGColor | [[http://developer.xojo.com/color|Color]] | &c0000000 | Color to draw the background of the view selector icon when hovered. | +| ViewSelectorHoverBGColor | Color | &c0000000 | Color to draw the background of the view selector icon when hovered. | 
-| ViewSelectorHoverColor | [[http://developer.xojo.com/color|Color]] | &c000000 | Color to draw the view selector icon when hovered. |+| ViewSelectorHoverColor | Color | &c000000 | Color to draw the view selector icon when hovered. |
 | ViewType | ViewTypes | ViewTypes.Month | Sets or retrieves the current view type. | | ViewType | ViewTypes | ViewTypes.Month | Sets or retrieves the current view type. |
-| WeekdayBold | [[http://developer.xojo.com/boolean|Boolean]] | False | Sets whether the week day names should be bold. |+| WeekdayBold | Boolean | False | Sets whether the week day names should be bold. |
  
 ==== Examples ==== ==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.