bgiSetDatePickerDate

Sets the date in a DatePicker control to the specified day, month, and year. Takes gizmo (Int), day (Int), month (Int), and year (Int). Returns 1 on success, 0 if gizmo not found.

BGI GUI

Parameters & Returns

Parameters

gizmo Int
day Int
month Int
year Int

Returns

Int

Quick Summary

Sets the date in a DatePicker control to the specified day, month, and year. Takes gizmo (Int), day (Int), month (Int), and year (Int). Returns 1 on success, 0 if gizmo not found.

Technical Exegesis...

Sets the date in a DatePicker control to the specified day, month, and year. Searches gizmoMap for gizmo ID using find(). If found, calls DateTime_GetSystemtime() to retrieve current SYSTEMTIME structure. Modifies st.wDay=day, st.wMonth=month, st.wYear=year. Calls DateTime_SetSystemtime() with GDT_VALID flag to update picker. Returns 1 on success, 0 if gizmo not found.

This function programmatically sets a DatePicker's date.

Example

Example.bam
; No example implemented yet