User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

koda:en:documentation:commctrl [2014/07/10 10:47] (current)
Line 1: Line 1:
 +<!-- common properties -->
 +{{KODA>​VAR>​Align=//​Design only// property, does not generate code, helps with aligning controls while editing. \\  **alBottom** - control moves to bottom of client area, resizes to width of client area x original height \\ **alClient** - control occupies the whole of the client area\\ **alCustom** - not used\\ **alLeft** - control moves to left edge of client area, resizes to original width x height of client area \\ **alNone** - no aligning \\ **alRight** - control moves to right edge of client area, resizes to original width x height of client area \\ **alTop** - control moves to top of client area, resizes to width of client area x original height }}
 +{{KODA>​VAR>​Caption=Text displayed on the control}}
 +{{KODA>​VAR>​Checked=If True, checkbox will be checked}}
 +{{KODA>​VAR>​Color=Background color of control. Choose from the list, or enter your own. Format is 0x//​number//​ where //number// is 6 hexadecimal digits: 2 for blue, 2 for green and 2 for red}}
 +{{KODA>​VAR>​Color_Fore=Foreground color}}
 +{{KODA>​VAR>​ContextMenu=Specifies [[control_contextmenu|context menu]] to attach to control. [[create_menu|Create the ContextMenu]] first}}
 +{{KODA>​VAR>​Cursor=Cursor shape to display when mouse is over this control}}
 +{{KODA>​VAR>​Enabled=False generates <color blue>​GUICtrlSetState(-1,​ $GUI_DISABLE)</​color>​ }}
 +{{KODA>​VAR>​Font=Double-click to the right to open the Font dialog. Click on + to show the Color, Name, Size and Style properties}}
 +{{KODA>​VAR>​Left,​Top=Position of control relative to its parent}}
 +{{KODA>​VAR>​Width,​Height=Size of control in pixels}}
 +{{KODA>​VAR>​Hint=Text that appears when cursor hovers over control. Generates call to <color blue>​GUICtrlSetTip</​color>​}}
 +{{KODA>​VAR>​Images=An attached [[control_ImageList]] control}}
 +{{KODA>​VAR>​ItemIndex=Default item from items list.}}
 +{{KODA>​VAR>​Items=This property contains control items list.}}
 +{{KODA>​VAR>​Hotkey=Keystroke that makes this control active}}
 +{{KODA>​VAR>​Lines=Text to show in control. Double-click to the right to open  [[proped_strings_editor]] to specify}}
 +{{KODA>​VAR>​Max=Maximum possible value}}
 +{{KODA>​VAR>​Min=Minimum possible value}}
 +{{KODA>​VAR>​MaxLength=Maximum length of control text.}}
 +{{KODA>​VAR>​Name=Name of control and of the variable that is assigned its control ID in generated code. If not specified, no variable is generated}}
 +{{KODA>​VAR>​Name_Handle=Name of control and of the variable that is assigned its **handle** in generated code. If not specified, no variable is generated .}}
 +{{KODA>​VAR>​Picture=Specifies an image to display. Double-click to the right to open [[proped_images_editor]]}}
 +{{KODA>​VAR>​Position=Initial value}}
 +{{KODA>​VAR>​Resizing=Click on + to expand resize modes: \\ **DocAuto** - resize and reposition according to new window size \\ **DocRight** - Do not move right side \\ **DocLeft** - Do not move left side \\ **DocTop** - Do not move top \\ **DocBottom** - Do not move bottom \\ **DocHCenter** - Horizontal center remains fixed \\ **DocVCenter** - Vertical center remains fixed \\ **DocWidth** - Width does not change \\ **DocHeight** - Height does not change }}
 +{{KODA>​VAR>​StdEvent=Generates (in Message Loop mode) a <color blue>​Case</​color> ​ or (in OnEvent mode) a call to <color blue>​GUISetOnEvent</​color>​ and a skeleton event function. Double-click to right to open [[proped_events_editor]]}}
 +{{KODA>​VAR>​TabOrder=Sequence in which controls are selected with the <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the [[dialog_tab_order_editor|TabOrder Visual Editor]]: press <​key>​C-t</​key>​ to open it. }}
 +{{KODA>​VAR>​Text=This property contain text that will be visible on form.}}
 +{{KODA>​VAR>​Updown=An [[control_UpDown]] control can be [[attach_controls|attached]] to this property.}}
 +{{KODA>​VAR>​Visible=If False, generates ​ <color blue>​GUICtrlSetState(-1,​ $GUI_HIDE)</​color>​ }}
 +{{KODA>​VAR>​Visible_Custom=If False, hides the control and generates ​ <color blue>​GUICtrlSetState(-1,​ $GUI_HIDE)</​color>​}}
 +<!-- avi specific properties -->
 +{{KODA>​VAR>​FileName_Avi=File name of AVI. This will be ignored if CommonAVI property is set.}}
 +{{KODA>​VAR>​CommonAVI=This is special property. If this not set to //​aviNone//,​ Koda will ignore FileName property and generate code for some standard system AVI's (Copy File, Delete Files etc).}}
 +<!-- menu specific properties -->
 +{{KODA>​VAR>​Caption_Menu=This is a text of menu item.}}
 +{{KODA>​VAR>​Checked_Menu=If this true, menu item will have a checkmark at left.}}
 +{{KODA>​VAR>​Items_Menu=Tree of [[control_menuitem|MenuItems]]. Double-click to the right to open [[proped_menu_builder]]}}
 +{{KODA>​VAR>​GroupIndex=Items that have RadioItem property and with the same GroupIndex will be grouped.}}
 +<!-- traymenu specific properties -->
 +{{KODA>​VAR>​IconDebug=Enable showing debug information in tray icon tooltip.}}
 +{{KODA>​VAR>​MouseClick=Set of flags that defines traymenu behaviour in reaction to mouse clicks/​moving. Default value is mcPriPress + mcSecPress (menu shown by single clicking primary or secondary buttons).}}
 +{{KODA>​VAR>​ShowStdMenu=If enabled, standard AutoIt menu will be shown despite generation of menu code, or not.}}
 +<!-- datetime specific properties -->
 +{{KODA>​VAR>​Date=Set date value. This always in your local date format.}}
 +{{KODA>​VAR>​Format=Set date/time format, according to Windows API.}}
 +{{KODA>​VAR>​Time=Set time value. ​ This always in your local time format.}}
 +{{KODA>​VAR>​Autosize=Automatically mantain size of control.}}
 +<!-- different controls specific properties -->
 +{{KODA>​VAR>​Picture_Button=Specifies an image to display. Double-click to the right to open [[proped_images_editor]]. AutoIt does not support both picture and text on a button so assigning a Picture hides the Caption.}}
 +{{KODA>​VAR>​Stretch_Pic=Defines how control will stretch on resizing. This is //design only// property.\\
 +**sFree** - Width and height can be changed independently \\ **sProportional** - Aspect ratio is preserved \\ **sRealSize** - Width and height are determined by original size of image}}
 +{{KODA>​VAR>​Columns=Contain ListView header captions (for use in report style).}}
 +{{KODA>​VAR>​ActivePage=This controls which page will be active by default.}}
 +{{KODA>​VAR>​ImageIndex=Index of image in the attached [[control_ImageList]] control. Default is -1 (none)}}
 +{{KODA>​VAR>​AXName=ActiveX component name. Just for information.}}
 +{{KODA>​VAR>​AXObject=Property shows [[proped_activex_browser]] for ActiveX component selection.}}
 +<!-- custom controls specific properties -->
 +{{KODA>​VAR>​Height_StatusBar=Height of control.}}
 +{{KODA>​VAR>​SimplePanel=Set this to True to make statusbar "​simple"​. In this mode instead of set of panels only single panel is allowed.}}
 +{{KODA>​VAR>​SimpleText=This property contain text for "​simple"​ mode.}}
 +{{KODA>​VAR>​Text_IP=IP address as text here.}}
 +<!-- imagelist specific properties -->
 +{{KODA>​VAR>​ColorDepth=Depth of color: \\ **cd16bit** - Use a 16-bit DIB section
 + \\ **cd24bit** - Use a 24-bit DIB section \\ **cd32bit** - Use a 32-bit DIB section \\ **cd4bit** - Use a 4-bit DIB section \\ **cd8bit** - Use a 8-bit DIB section \\ **cdDDB** - Use a device-dependent bitmap \\ **cdDefault** - Use the default behavior }}
 +{{KODA>​VAR>​ImageWidth,​ImageHeight=Dimensions of single image in the imagelist.}}
 +{{KODA>​VAR>​Images_ImageList=This property open [[proped_imagelist_editor]] for list of images.}}
 +<!-- form specific properties -->
 +{{KODA>​VAR>​ClientHeight=Height of client area in pixels}}
 +{{KODA>​VAR>​ClientWidth=Width of client area in pixels}}
 +{{KODA>​VAR>​Description=Allowed to enter form description. This text is for informational use only, like in templates gallery.}}
 +{{KODA>​VAR>​Menu=Specifies [[control_menu|menu]] to attach to form. [[create_menu|Create the Menu control]] first}}
 +{{KODA>​VAR>​ParentForm=For child form, name of parent. If not specified, parent is Desktop}}
 +{{KODA>​VAR>​Position_Form=Form position: \\ **poDesigned** - if Parent specified, Left and Right are relative to Parent, else relative to Desktop \\ **poDesktopCenter** - centered on Desktop \\ **poFixed** - Left and Right are desktop co-ordinates}}
 +{{KODA>​VAR>​TrayMenu=Specifies [[control_traymenu|tray menu]] to attach to form. [[create_menu|Create the TrayMenu control]] first}}
 +{{KODA>​VAR>​Icon_Form=Icon in title bar. To specify, double click to right. ​ [[proped_images_editor]] opens}}
koda/en/documentation/commctrl.txt ยท Last modified: 2014/07/10 10:47 (external edit)