3 class ColorFun : Window
5 text = "Fun With Colors and Data Boxes";
6 background = activeBorder;
11 nativeDecorations = true;
17 SavingDataBox colorBox
19 this, size = { 116, 20 }, position = { 176, 104 }; data = &color; type = class(Color);
21 bool NotifyChanged(bool closingDropDown)
30 date = (now.GetLocalTime(), Date { now.year, now.month, now.day });
33 this, size = { 200, 20 }, position = { 376, 104 }; data = &date; type = class(Date);
38 SavingDataBox dateTimeBox
40 this, size = { 200, 20 }, position = { 376, 304 }; data = &dateTime; type = class(DateTime);
45 SavingDataBox doubleBox
47 this, size = { 116, 20 }, position = { 176, 204 }; data = &d; type = class(double);