Project

General

Profile

OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
Loading...
Searching...
No Matches

Functions

 getEdCtrlDateValue (ctrlstr)
 Get a date control value.
 
 setEdCtrlDateValue (ctrlstr, day, month, year)
 Set a date control value.
 
 setEdCtrlDateEnable (ctrlstr, state)
 Set a date control state.
 
 setEdCtrlDateCbChange (ctrlstr, cbfun)
 Define a date control change callback function.
 
 crEdCtrlDate (winstr, x, y, w, h, day, month, year, themestr, resize)
 Create a date control.
 
 dsEdCtrlDate (ctrlstr)
 Destroy a date control.
 

Detailed Description

Date control

Function Documentation

◆ getEdCtrlDateValue()

getEdCtrlDateValue ( ctrlstr  )

Get a date control value.

Prototype: fun [EdControl] [I I I]

Parameters
EdControl: date control structure
Returns
[I I I] : the day, month, year value

◆ setEdCtrlDateValue()

setEdCtrlDateValue ( ctrlstr  ,
day  ,
month  ,
year   
)

Set a date control value.

Prototype: fun [EdControl I I I] I

Parameters
EdControl: date control structure
I: new day value
I: new month value
I: new year value
Returns
0

◆ setEdCtrlDateEnable()

setEdCtrlDateEnable ( ctrlstr  ,
state   
)

Set a date control state.

Prototype: fun [EdControl I] I

Parameters
EdControl: date control structure
I: 1 to enable, 0 the disable
Returns
0

◆ setEdCtrlDateCbChange()

setEdCtrlDateCbChange ( ctrlstr  ,
cbfun   
)

Define a date control change callback function.

Prototype: fun [EdControl fun [EdControl I I I] u0] I

Parameters
EdControl: date control structure
fun[EdControl I I I] u0 : change callback
-EdControl : the same date control structure
-I : the day value
-I : the month value
-I : the year value
Returns
0

◆ crEdCtrlDate()

crEdCtrlDate ( winstr  ,
,
,
,
,
day  ,
month  ,
year  ,
themestr  ,
resize   
)

Create a date control.

Prototype: fun [EdWindow I I I I I I I EdTheme I] EdControl

Parameters
EdWindow: parent control window
I: X position
I: Y position
I: width
I: height
I: day
I: month
I: year
EdTheme: theme structure to use
I: resize flags
Returns
EdControl

◆ dsEdCtrlDate()

dsEdCtrlDate ( ctrlstr  )

Destroy a date control.

Prototype: fun [EdControl] I

Parameters
EdControl: date control structure
Returns
0