Software**, link1. Create a variable
Note: This example uses all memory variables.
2. Create a new screen
The name of the screen is: Calendar Control Application Screen.
3. Create a new calendar control
Select the calendar control in the Insert Generic control.
Note: When inserting Microsoft's calendar control, the default is the date control, and it is modified to the time control according to the opening control properties in the figure.
Fourth, the application of Asian control calendar
Double-click the ACON calendar control, and the association is as follows:
The script is as follows: long ayear; long amonth;long aday;string temp;ayear=date.getyear();amonth=date.getmonth();aday=date.getday();temp=strfromint( ayear, 10 );if(amonth<10)temp=temp+"-0"+strfromint( amonth, 10 );elsetemp=temp+"-"+strfromint( amonth, 10 );if(aday<10)temp=temp+"-0"+strfromint( aday, 10 );elsetemp=temp+"-"+strfromint( aday, 10 );local date=temp; local week = dategetweek();if( local week==7) local week="Sunday";if( local week==1) local week="Monday";if( local week==2) local week="Tuesday";if( local week==3) local week="Wednesday";if( local week==4) local week="Thursday";if( local week==5) local week="Friday";if( local week==6) local week="Saturday";Note: The rest of the calendar controls are associated with variables according to the above method; Write a scripting language.
FiveClick the Save All command in the File menu to save your settings.
SixClick the "Switch to view" command in the "File" menu to enter the running system.