2010-02-10 02:12:56 +01:00
|
|
|
/***************************************************************************
|
|
|
|
|
2010-02-21 19:15:16 +01:00
|
|
|
gb.form.properties.h
|
2010-02-10 02:12:56 +01:00
|
|
|
|
2010-02-21 19:15:16 +01:00
|
|
|
(c) 2000-2009 Benoît Minisini <gambas@users.sourceforge.net>
|
2010-02-10 02:12:56 +01:00
|
|
|
|
2010-02-21 19:15:16 +01:00
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
any later version.
|
2010-02-10 02:12:56 +01:00
|
|
|
|
2010-02-21 19:15:16 +01:00
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
2010-02-10 02:12:56 +01:00
|
|
|
|
2010-02-21 19:15:16 +01:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
2010-02-10 02:12:56 +01:00
|
|
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __GB_FORM_PROPERTIES_H
|
|
|
|
#define __GB_FORM_PROPERTIES_H
|
|
|
|
|
|
|
|
#define CCONTROL_PROPERTIES \
|
2010-02-21 19:15:16 +01:00
|
|
|
"X{Position},Y{Position},Width{Dimension},Height{Dimension},Visible=True,Enabled=True,Font{Font}," \
|
|
|
|
"Background{Color}=-1,Foreground{Color}=-1," \
|
|
|
|
"Tag,Tracking,Mouse{Mouse.Default;Blank;Arrow;Cross;Wait;Text;SizeAll;SizeH;SizeV;SizeN;SizeS;SizeW;" \
|
2010-07-22 02:29:53 +02:00
|
|
|
"SizeE;SizeNWSE;SizeNESW;SplitH;SplitV;Pointing}=Default,ToolTip,Drop,Expand,Ignore,PopupMenu{Menu}"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CARRANGEMENT_PROPERTY "Arrangement{Arrange.None;Horizontal;Vertical;Row;Column;Fill}"
|
|
|
|
#define CPADDING_PROPERTIES "Spacing,Margin,Padding{Range:0;63},Indent"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CWINDOW_PADDING_PROPERTIES "Spacing,Margin,Padding{Range:0;63}"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CARRANGEMENT_PROPERTIES CARRANGEMENT_PROPERTY ",AutoResize," CPADDING_PROPERTIES
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CWINDOW_ARRANGEMENT_PROPERTIES CARRANGEMENT_PROPERTY ",AutoResize," CWINDOW_PADDING_PROPERTIES
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CUSERCONTROL_PROPERTIES "*"
|
|
|
|
#define CUSERCONTAINER_PROPERTIES "*," CARRANGEMENT_PROPERTIES
|
|
|
|
|
|
|
|
#define CBUTTON_PROPERTIES "*,Action,AutoResize,Text,Picture,Border=True,Default,Cancel"
|
2010-04-21 03:25:19 +02:00
|
|
|
#define CCHECKBOX_PROPERTIES "*,Action,AutoResize,Text,Tristate,Value{CheckBox.False;True;None}"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CCOLUMNVIEW_PROPERTIES "*,Mode{Select.*}=Single,Sorted,Editable,Header=True,Resizable=False,AutoResize=True,Border=True,ScrollBar{Scroll.*}=Both"
|
2010-07-31 02:19:15 +02:00
|
|
|
#define CCOMBOBOX_PROPERTIES "*,Action,ReadOnly,List,Text,Password,MaxLength,Sorted"
|
2010-02-22 03:33:47 +01:00
|
|
|
#define CDIAL_PROPERTIES "*,MinValue=0,MaxValue=100,Step=1,PageStep=10,Wrap,Mark=True"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CDRAWINGAREA_PROPERTIES "*,Cached,Painted,Tracking,Focus,Merge,Border{Border.*}"
|
2010-02-22 03:33:47 +01:00
|
|
|
#define CEDITOR_PROPERTIES "*,Font{Font:Fixed},Border=True,Highlight{Highlight.None;Custom;Gambas;HTML;CSS;WebPage;Diff;JavaScript}=None,ReadOnly=False,TabSize{Range:1;16}=2"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CFRAME_PROPERTIES "*,Text"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CGRIDVIEW_PROPERTIES "*,Mode{Select.None;Single;Multiple}=None,Grid=True,Header{GridView.None;Vertical;Horizontal;Both}=None,Scrollbar{Scroll.*}=Both,Border=True,AutoResize=True,Resizable=True"
|
|
|
|
#define CHBOX_PROPERTIES "*,AutoResize," CPADDING_PROPERTIES
|
|
|
|
#define CHSPLIT_PROPERTIES "*"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CICONVIEW_PROPERTIES "*,Mode{Select.*}=Single,Sorted,Editable,GridWidth{Range:0;64}=0,Border=True,ScrollBar{Scroll.*}=Both"
|
|
|
|
#define CLABEL_PROPERTIES "*,Padding{Range:0;63},AutoResize,Text,Alignment{Align.*}=Normal,Border{Border.*},Transparent"
|
2010-02-22 03:33:47 +01:00
|
|
|
#define CLCDNUMBER_PROPERTIES "*,Value,Digits{Range:1;64}=1,SmallDecimalPoint,Style{LCDNumber.Outline;Filled;Flat}=Outline,Mode{LCDNumber.Decimal;Hexadecimal;Binary}=Decimal,Border{Border.*}"
|
2010-07-20 17:50:17 +02:00
|
|
|
#define CLISTBOX_PROPERTIES "*,List,Border=True,Mode{Select.*}=Single,Sorted"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CLISTVIEW_PROPERTIES "*,Mode{Select.*}=Single,Sorted,Editable,Border=True,ScrollBar{Scroll.*}=Both"
|
|
|
|
#define CMENU_PROPERTIES "Action,Text,Picture,Enabled=True,Toggle,Checked,Visible=True,Tag,Shortcut"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CMOVIEBOX_PROPERTIES "*,Path,Playing,Border{Border.*}"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CPANEL_PROPERTIES "*," CARRANGEMENT_PROPERTIES ",Border{Border.*}"
|
|
|
|
#define CPICTUREBOX_PROPERTIES "*,Picture,Stretch,AutoResize,Alignment{Align.*}=TopLeft,Border{Border.*}"
|
|
|
|
#define CPRINTER_PROPERTIES "Orientation{Printer.Portrait;Landscape}=Portrait,Paper{Printer.A3;A4;A5;B5;Letter;Executive}=A4,CollateCopies,ReverseOrder,Duplex{Printer.Simplex;Horizontal;Vertical}=Simplex,GrayScale,FullPage"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CPROGRESSBAR_PROPERTIES "*,Action,Label=True"
|
2010-04-21 03:25:19 +02:00
|
|
|
#define CRADIOBUTTON_PROPERTIES "*,AutoResize,Text,Value"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CSCROLLBAR_PROPERTIES "*,MinValue=0,MaxValue=100,Step=1,PageStep=10,Tracking=True"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CSCROLLVIEW_PROPERTIES "*," CARRANGEMENT_PROPERTY "," CPADDING_PROPERTIES ",Border=True,ScrollBar{Scroll.*}=Both"
|
|
|
|
#define CSEPARATOR_PROPERTIES "*"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CSLIDER_PROPERTIES "*,Action,MinValue=0,MaxValue=100,Step=1,PageStep=10,Tracking=True,Mark,Value"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CSPINBOX_PROPERTIES "*,Action,MinValue=0,MaxValue=100,Step=1,Wrap,Value,Border=True"
|
2010-08-01 02:09:06 +02:00
|
|
|
#define CTABSTRIP_PROPERTIES "*," CARRANGEMENT_PROPERTIES ",Count{Range:1;256}=1,Index,Text,TextFont,Picture,Orientation{Align.Top;Bottom;Left;Right}=Top,Closable"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CTEXTAREA_PROPERTIES "*,Text,ReadOnly,Wrap,Border=True,ScrollBar{Scroll.*}=Both"
|
|
|
|
#define CTEXTBOX_PROPERTIES "*,Action,Text,Alignment{Align.Normal;Left;Center;Right}=Normal,ReadOnly,Password,MaxLength,Border=True"
|
2010-03-23 00:21:13 +01:00
|
|
|
#define CTEXTEDIT_PROPERTIES "*,ReadOnly,Wrap,Border=True,ScrollBar{Scroll.*}=Both"
|
2010-04-20 03:21:07 +02:00
|
|
|
#define CTEXTLABEL_PROPERTIES "*,Padding{Range:0;63},AutoResize,Text,Alignment{Align.*}=TopNormal,Wrap=True,Border{Border.*},Transparent"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CTOGGLEBUTTON_PROPERTIES "*,Action,AutoResize,Text,Picture,Border=True,Radio,Value"
|
|
|
|
#define CTOOLBUTTON_PROPERTIES "*,Action,AutoResize,Text,Picture,Border,Radio,Toggle,Value"
|
2010-02-10 02:12:56 +01:00
|
|
|
#define CTRAYICON_PROPERTIES "Visible=False,Tag,Tooltip,Picture"
|
2010-02-14 02:16:27 +01:00
|
|
|
#define CTREEVIEW_PROPERTIES "*,Mode{Select.*}=Single,Sorted,Editable,Border=True,ScrollBar{Scroll.*}=Both"
|
|
|
|
#define CVBOX_PROPERTIES CHBOX_PROPERTIES
|
|
|
|
#define CVSPLIT_PROPERTIES "*"
|
2010-04-12 03:27:33 +02:00
|
|
|
#define CWINDOW_PROPERTIES "*,Action,Text,Icon,Picture,Mask,Persistent,Resizable=True,Border=True,Type{WindowType.*}=Normal,Stacking{Window.Normal;Above;Below}=Normal,Minimized,Maximized,FullScreen,Sticky,SkipTaskbar,Opacity{Range:0;100}=100," CWINDOW_ARRANGEMENT_PROPERTIES
|
2010-02-10 02:12:56 +01:00
|
|
|
|
|
|
|
#define DESCRIBE_CONTROL(_prop, _event, _size) \
|
2010-02-21 19:15:16 +01:00
|
|
|
GB_CONSTANT("_Properties", "s", _prop), \
|
|
|
|
GB_CONSTANT("_DefaultEvent", "s", _event), \
|
|
|
|
GB_CONSTANT("_DefaultSize", "s", _size)
|
|
|
|
|
|
|
|
#define DESCRIBE_SPECIAL_CONTROL(_prop, _event, _size) \
|
|
|
|
DESCRIBE_CONTROL(_prop, _event, _size), \
|
|
|
|
GB_CONSTANT("_Group", "s", "Special")
|
2010-02-10 02:12:56 +01:00
|
|
|
|
|
|
|
#define DESCRIBE_CONTAINER(_prop, _event, _arr) \
|
2010-02-21 19:15:16 +01:00
|
|
|
GB_CONSTANT("_Properties", "s", _prop), \
|
|
|
|
GB_CONSTANT("_DefaultEvent", "s", _event), \
|
|
|
|
GB_CONSTANT("_DefaultSize", "s", "24,24"), \
|
|
|
|
GB_CONSTANT("_Arrangement", "i", _arr)
|
2010-02-10 02:12:56 +01:00
|
|
|
|
2010-02-14 02:16:27 +01:00
|
|
|
#define DESCRIBE_MULTI_CONTAINER(_prop, _event, _arr) \
|
|
|
|
GB_CONSTANT("_IsMultiContainer", "b", TRUE), \
|
|
|
|
DESCRIBE_CONTAINER(_prop, _event, _arr)
|
|
|
|
|
|
|
|
#define CONTROL_DESCRIPTION \
|
|
|
|
DESCRIBE_CONTROL(CCONTROL_PROPERTIES, "MouseDown", "16,16"), \
|
|
|
|
GB_CONSTANT("_IsControl", "b", TRUE), \
|
|
|
|
GB_CONSTANT("_Family", "s", "Form") \
|
|
|
|
|
|
|
|
#define CONTAINER_DESCRIPTION \
|
|
|
|
GB_CONSTANT("_IsContainer", "b", TRUE), \
|
|
|
|
GB_CONSTANT("_Group", "s", "Container") \
|
|
|
|
|
2010-02-22 03:33:47 +01:00
|
|
|
#define SIMILAR(_similar) GB_CONSTANT("_Similar", "s", _similar)
|
|
|
|
|
2010-02-10 02:12:56 +01:00
|
|
|
#define BUTTON_DESCRIPTION DESCRIBE_CONTROL(CBUTTON_PROPERTIES, "Click", "16,4")
|
2010-04-20 03:21:07 +02:00
|
|
|
#define CHECKBOX_DESCRIPTION DESCRIBE_CONTROL(CCHECKBOX_PROPERTIES, "Click", "24,4"), SIMILAR("Button")
|
2010-02-22 03:33:47 +01:00
|
|
|
#define COLUMNVIEW_DESCRIPTION DESCRIBE_CONTROL(CCOLUMNVIEW_PROPERTIES, "Click", "16,16"), SIMILAR("ListView")
|
|
|
|
#define COMBOBOX_DESCRIPTION DESCRIBE_CONTROL(CCOMBOBOX_PROPERTIES, "Click", "24,4"), SIMILAR("TextBox")
|
|
|
|
#define DIAL_DESCRIPTION DESCRIBE_CONTROL(CDIAL_PROPERTIES, "Change", "6,6"), SIMILAR("Slider")
|
2010-02-10 02:12:56 +01:00
|
|
|
#define DRAWINGAREA_DESCRIPTION DESCRIBE_CONTAINER(CDRAWINGAREA_PROPERTIES, "Draw", ARRANGE_NONE)
|
2010-02-22 03:33:47 +01:00
|
|
|
#define EDITOR_DESCRIPTION DESCRIBE_CONTROL(CEDITOR_PROPERTIES, "KeyPress", "16,16"), SIMILAR("TextArea")
|
2010-02-21 19:15:16 +01:00
|
|
|
#define EMBEDDER_DESCRIPTION DESCRIBE_SPECIAL_CONTROL("*", "Embed", "24,24")
|
2010-02-10 02:12:56 +01:00
|
|
|
#define FRAME_DESCRIPTION DESCRIBE_CONTAINER(CFRAME_PROPERTIES, "MouseDown", ARRANGE_NONE)
|
|
|
|
#define GRIDVIEW_DESCRIPTION DESCRIBE_CONTROL(CGRIDVIEW_PROPERTIES, "Click", "16,16")
|
2010-02-22 03:33:47 +01:00
|
|
|
#define HBOX_DESCRIPTION DESCRIBE_CONTAINER(CHBOX_PROPERTIES, "MouseDown", ARRANGE_HORIZONTAL), SIMILAR("Panel")
|
|
|
|
#define HPANEL_DESCRIPTION DESCRIBE_CONTAINER(CHBOX_PROPERTIES, "MouseDown", ARRANGE_ROW), SIMILAR("Panel")
|
2010-02-10 02:12:56 +01:00
|
|
|
#define HSPLIT_DESCRIPTION DESCRIBE_CONTAINER(CHSPLIT_PROPERTIES, "Resize", ARRANGE_HORIZONTAL)
|
|
|
|
#define ICONVIEW_DESCRIPTION DESCRIBE_CONTROL(CICONVIEW_PROPERTIES, "Click", "16,16")
|
|
|
|
#define LABEL_DESCRIPTION DESCRIBE_CONTROL(CLABEL_PROPERTIES, "MouseDown", "24,4")
|
2010-02-22 03:33:47 +01:00
|
|
|
#define LCDNUMBER_DESCRIPTION DESCRIBE_CONTROL(CLCDNUMBER_PROPERTIES, "MouseDown", "24,6"), SIMILAR("Label")
|
2010-02-10 02:12:56 +01:00
|
|
|
#define LISTBOX_DESCRIPTION DESCRIBE_CONTROL(CLISTBOX_PROPERTIES, "Click", "16,16")
|
|
|
|
#define LISTVIEW_DESCRIPTION DESCRIBE_CONTROL(CLISTVIEW_PROPERTIES, "Click", "16,16")
|
|
|
|
#define MOVIEBOX_DESCRIPTION DESCRIBE_CONTROL(CMOVIEBOX_PROPERTIES, "MouseDown", "16,16")
|
|
|
|
#define PANEL_DESCRIPTION DESCRIBE_CONTAINER(CPANEL_PROPERTIES, "MouseDown", ARRANGE_FILL)
|
|
|
|
#define PICTUREBOX_DESCRIPTION DESCRIBE_CONTROL(CPICTUREBOX_PROPERTIES, "MouseDown", "16,16")
|
2010-02-14 02:16:27 +01:00
|
|
|
#define PROGRESSBAR_DESCRIPTION DESCRIBE_CONTROL(CPROGRESSBAR_PROPERTIES, "MouseDown", "24,4")
|
2010-04-20 03:21:07 +02:00
|
|
|
#define RADIOBUTTON_DESCRIPTION DESCRIBE_CONTROL(CRADIOBUTTON_PROPERTIES, "Click", "24,4"), SIMILAR("Button")
|
2010-02-22 03:33:47 +01:00
|
|
|
#define SCROLLBAR_DESCRIPTION DESCRIBE_CONTROL(CSCROLLBAR_PROPERTIES, "Change", "36,4"), SIMILAR("Slider")
|
|
|
|
#define SCROLLVIEW_DESCRIPTION DESCRIBE_CONTAINER(CSCROLLVIEW_PROPERTIES, "MouseDown", ARRANGE_FILL), SIMILAR("Panel")
|
2010-02-10 02:12:56 +01:00
|
|
|
#define SEPARATOR_DESCRIPTION DESCRIBE_CONTROL(CSEPARATOR_PROPERTIES, "MouseDown", "1,4")
|
2010-02-14 02:16:27 +01:00
|
|
|
#define SLIDER_DESCRIPTION DESCRIBE_CONTROL(CSLIDER_PROPERTIES, "Change", "24,4")
|
2010-02-22 03:33:47 +01:00
|
|
|
#define SPINBOX_DESCRIPTION DESCRIBE_CONTROL(CSPINBOX_PROPERTIES, "Change", "9,4"), SIMILAR("TextBox,Slider")
|
2010-02-14 02:16:27 +01:00
|
|
|
#define TABSTRIP_DESCRIPTION DESCRIBE_MULTI_CONTAINER(CTABSTRIP_PROPERTIES, "Click", ARRANGE_FILL)
|
2010-02-22 03:33:47 +01:00
|
|
|
#define TEXTAREA_DESCRIPTION DESCRIBE_CONTROL(CTEXTAREA_PROPERTIES, "KeyPress", "16,16"), SIMILAR("TextBox")
|
2010-02-10 02:12:56 +01:00
|
|
|
#define TEXTBOX_DESCRIPTION DESCRIBE_CONTROL(CTEXTBOX_PROPERTIES, "KeyPress", "24,4")
|
2010-02-22 03:33:47 +01:00
|
|
|
#define TEXTEDIT_DESCRIPTION DESCRIBE_CONTROL(CTEXTEDIT_PROPERTIES, "Change", "16,16"), SIMILAR("TextArea")
|
|
|
|
#define TEXTLABEL_DESCRIPTION DESCRIBE_CONTROL(CTEXTLABEL_PROPERTIES, "MouseDown", "24,4"), SIMILAR("Label")
|
|
|
|
#define TOGGLEBUTTON_DESCRIPTION DESCRIBE_CONTROL(CTOGGLEBUTTON_PROPERTIES, "Click", "16,4"), SIMILAR("Button")
|
|
|
|
#define TOOLBUTTON_DESCRIPTION DESCRIBE_CONTROL(CTOOLBUTTON_PROPERTIES, "Click", "4,4"), SIMILAR("Button")
|
2010-02-21 19:15:16 +01:00
|
|
|
#define TRAYICON_DESCRIPTION DESCRIBE_SPECIAL_CONTROL(CTRAYICON_PROPERTIES, "Menu", "4,4")
|
2010-02-22 03:33:47 +01:00
|
|
|
#define TREEVIEW_DESCRIPTION DESCRIBE_CONTROL(CTREEVIEW_PROPERTIES, "Click", "16,16"), SIMILAR("ListView")
|
2010-02-10 02:12:56 +01:00
|
|
|
#define USERCONTAINER_DESCRIPTION DESCRIBE_CONTAINER(CUSERCONTAINER_PROPERTIES, "MouseDown", ARRANGE_FILL)
|
2010-02-22 03:33:47 +01:00
|
|
|
#define VBOX_DESCRIPTION DESCRIBE_CONTAINER(CVBOX_PROPERTIES, "MouseDown", ARRANGE_VERTICAL), SIMILAR("Panel")
|
|
|
|
#define VPANEL_DESCRIPTION DESCRIBE_CONTAINER(CVBOX_PROPERTIES, "MouseDown", ARRANGE_COLUMN), SIMILAR("Panel")
|
|
|
|
#define VSPLIT_DESCRIPTION DESCRIBE_CONTAINER(CVSPLIT_PROPERTIES, "Resize", ARRANGE_VERTICAL), SIMILAR("HSplit")
|
2010-02-14 02:16:27 +01:00
|
|
|
#define WINDOW_DESCRIPTION DESCRIBE_CONTAINER(CWINDOW_PROPERTIES, "Open", ARRANGE_FILL)
|
|
|
|
|
|
|
|
#define MENU_DESCRIPTION \
|
|
|
|
GB_CONSTANT("_IsControl", "b", TRUE), \
|
2010-02-23 04:21:43 +01:00
|
|
|
GB_CONSTANT("_IsContainer", "b", TRUE), \
|
2010-02-14 02:16:27 +01:00
|
|
|
GB_CONSTANT("_Family", "s", "Form"), \
|
2010-02-21 19:15:16 +01:00
|
|
|
GB_CONSTANT("_Properties", "s", CMENU_PROPERTIES), \
|
|
|
|
GB_CONSTANT("_DefaultEvent", "s", "Click")
|
2010-02-14 02:16:27 +01:00
|
|
|
|
|
|
|
#define FORM_DESCRIPTION \
|
|
|
|
GB_CONSTANT("_IsForm", "b", TRUE), \
|
2010-02-21 19:15:16 +01:00
|
|
|
GB_CONSTANT("_HiddenControls", "s", "Form,Control,Menu,Container,UserControl,UserContainer,Window")
|
2010-02-14 02:16:27 +01:00
|
|
|
|
|
|
|
#define PRINTER_DESCRIPTION \
|
|
|
|
GB_CONSTANT("_IsControl", "b", TRUE), \
|
2010-03-13 19:27:51 +01:00
|
|
|
GB_CONSTANT("_Family", "s", "*"), \
|
2010-02-14 02:16:27 +01:00
|
|
|
GB_CONSTANT("_IsVirtual", "b", TRUE), \
|
2010-02-21 19:15:16 +01:00
|
|
|
GB_CONSTANT("_Group", "s", "Special"), \
|
|
|
|
GB_CONSTANT("_Properties", "s", CPRINTER_PROPERTIES), \
|
|
|
|
GB_CONSTANT("_DefaultEvent", "s", "Draw")
|
|
|
|
|
|
|
|
#define USERCONTROL_DESCRIPTION \
|
|
|
|
DESCRIBE_CONTROL(CUSERCONTROL_PROPERTIES, "MouseDown", "16,16"), \
|
|
|
|
GB_CONSTANT("_Group", "s", ""), \
|
|
|
|
GB_CONSTANT("_IsContainer", "b", FALSE)
|
|
|
|
|
2010-02-10 02:12:56 +01:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|