bgiCreateDatePicker

Category: BGI GUI

Syntax:

bgiCreateDatePicker:Int(x:Int, y:Int, width:Int, height:Int, parentWin:Int)


Parameters

Returns

Int



Summary

Creates a date box that drops down a calendar.

Takes x (Int), y (Int), width (Int), height (Int) and parentWin (Int).

Returns gizmo ID, or 0 if parent not found.

It starts on today's date, shown in the user's short date format. Picking a day raises BGI_EVENT_COMMAND_UPDATE with ID BGI_EVENT_ID_DATEPICKER (data 0); read the date with bgiGetDatePickerDay, bgiGetDatePickerMonth and bgiGetDatePickerYear.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn