bgiCreateTimePicker

Category: BGI GUI

Syntax:

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


Parameters

Returns

Int



Summary

Creates a time box with up and down arrows.

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

Returns gizmo ID, or 0 if parent not found.

It starts on the current time. The arrows and the Up and Down keys change the hours, minutes or seconds - whichever the cursor is in - and a time can be typed. A change raises BGI_EVENT_COMMAND_UPDATE with ID BGI_EVENT_ID_TIMEPICKER (data 0).

In this edition the time is always shown as 24-hour HH:MM:SS; Windows uses the user's time format.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn