Properties and methods of all controls on the Win32 page

Source: Internet
Author: User
Tags rowcount
All controls on the Win32 page. This page control is a basic control in the 32-bit win system. If you choose to develop clx Program The page ttabcontrol is not displayed on the control panel.
Attribute
Displayrect: Only one rectangle in the customer zone of the control is set.
Hottrack: sets whether the word of the mouse changes when it passes through the tab. If it is true, the word turns blue.
Images: add an image for each tab
Multiline: if the length of the total page label is greater than the width of the control, whether multiple lines are allowed to be displayed
Multiselect: whether to allow multiple tab selection. This attribute is valid only when style is tsflatbuttons or tsbuttons.
Ownerdraw: whether to allow painting by yourself
Raggedright: whether to allow the tab to expand to the control width
Scrolopposite: This attribute sets multiline to true. When the number of lines on the tab is greater than 1, when you click another page, the page under the tab will automatically flip the bottom of the control.
Style: Set the style of the control.
Tabheight: Set the height of the tab.
Tabindex: The index number of the current tab. This number starts from 0.
Tabposition: select the position of the tab, which is top, bottom, left, and right.
Tabs: adds, deletes, and modifies each page.
Tabwidth: used to set the page label width
Gethittestinfoat: determines the position of the control in the specified value.
Indexoftabat: returns the tag of the specified position and its index number.
Rowcount: number of rows of the returned Tab
Scrolltabs: When multiline is set to false, this method moves the parameter tabs backward.
Tabrect: Set the rectangle event for the returned Tab
Onchange: triggered when the tab changes
Onchanging: triggered when the tab is being changed
Ondrawtab: triggered when a tab is painted.
Ongetimageindex: tpagecontrol attribute when the tab page is displayed
Activepage: Specifies the current page
Activepageindex: Specifies the index of the current page.
Pagecount: number of returned pages
Pages: used to control the tabsheet Method
Canshowtab: returns whether the specified page can be displayed.
Change: System Call. Automatically called when the current page changes
Doadddockclient: when the control is docked, specify a required mediation Device
Doremovedockclient: When this control is enabled, specify a required mediation Device
Findnextpage: You can return the previous or next page of a page related to its location.
Getchildren: performs a callback process for each page of the component.
Getimageindex: Specifies the displayed image for a specific page.
Getpagefromdockclient: You can obtain a single tab on the customer area.
Getsiteinfo: determine the area of the page widget and whether the dragged window can be placed
Loaded: When the page component contained in the form is first transferred from memory, this method is automatically called to initialize the page component.
Selectnextpage: Specifies the previous or next page of the current page.
Updateactivepage: When the pages attribute changes, this method updates the timagelist attribute of actionpage.
Dragging: determines whether an image is being dragged.
Allocby: Set the proportion of the image to increase
Bkcolor: sets the background color.
Blendcolor: Set the foreground color
Count: number of images in the list
Drawingstyle: How to draw an image
Height: The image height.
Imagetype: Specifies whether to use a mask when drawing an image.
Masked: indicates whether the image list contains a mask code.
Width: The image width method.
Add: add an image, including the mask code.
Addicon: add an icon
Addimages: add an image list
Addmasked: Add a mask code.
Assign: copy an object
Clear: Clear all images
Createsize: copy an image from another object
Delete: deletes an image.
Draw: draw an image in the specified index
Drawoverlay: draws an image and overwrites the canvas provided
Getbitmap: specify an image in the specified index again.
GetIcon: returns the image specified by index as a bitmap to the image parameter.
Getimagebitmap: obtains bitmaps containing all images in the image list. If not, 0 is returned.
Getinstres: This method transfers the specified bitmap, cursor, or icon resource to the image list.
Getmaskbitmap: obtains bitmap handles containing all masks in the image list.
Getresource: Call a specified bitmap, cursor, or icon resource in the image list.
Insert: insert an image
Inserticon: insert bitmap to index
Insertmasked: Insert a mask code at a specified position
Move: Move a specified image to another location.
Overlay: The overlay mask is transparent to the image that is overwritten in another image.
Registerchanges
Replace: replace an image with a new image and mask code.
Replaceicon: replace a new icon
Replacemasked: replace a mask Code with a new one.
Resinstload: obtains an image from the resource file to the image list.
Resourceload: Obtain an image from the resource file to the image list.
Unregisterchanges: deletes registration events of the tchangelink object.
Onchange: trigger trichedit when the content in the list changes
Attribute
Defattributes: sets attributes of all text in the control.
Hidescrollbars: sets whether to hide the scroll bar.
Hideselection:
Lines: controls the text in controls
Pagerect: Specifies a printing area in pixels during printing.
Plaintext: sets whether the text in the control is plain text.
Selattributes: sets the attributes of the text in the control.
Length of sellengthl selected text
Selstart: Start position of the selected text
Seltext: The selected text method.
Clear: remove text
Findtext: Find the specified string
Getseltextbuf: copy the selected string to the buffer and return its size.
Print: Print
Getcontrolsalignment: return the alignment event of the text.
Onprotectchange: triggered when the user attempts to modify text
Onresizerequest: triggered when the number of texts in the control changes
Onsaveclipboard: triggered when the text is saved to the clipboard.
Onselectionchange: triggers the ttrackbar attribute when the selected text changes.
Frequency: unit value of each move
Linesize: sets the unit value to be moved when the control is moved up, down, left, and right on the keyboard.
MAX: set the maximum value.
Min: sets the minimum value.
Orientation: sets whether the control is displayed horizontally or vertically.
Pagesize: Set the unit value when the control is moved by page up and page down on the keyboard.
Position: Current Value
Selend: set the end position
Selstart: Set the start position
Slidervisible: whether to display slide blocks
Thumblength: Set the length of the slider.
Tickmarks: sets the display style of the control.
Tickstyle: sets the display style of the control.
Settick: Add a label tprogressbar attribute at the specified position
MAX: maximum value of the progress bar
Min: minimum value of the progress bar
Orientation: Set whether the progress bar is horizontal or vertical.
Position: current progress Value
Smooth: Set whether to move forward smoothly or in the format.
Step: The progress span method of each step
Stepby: add the value specified in the parameter based on the original value.
Stepit: after each call, position will add the value tupdown attribute in step.
Alignbutton: select the position of the control, which is left and right.
Arrowkeys: whether to allow upper or lower control on the keyboard
Associate: select the control controlled by the control.
Increment: sets the Data Change span for each time the control is used to increase or decrease progressively
MAX: sets the maximum value of the control range.
Min: sets the minimum value of the control range.
Orientation: sets whether the control is displayed horizontally or vertically.
Position: sets the current value.
Thousands: whether to separate every three 10-digit numbers with commas
Wrap: if the current value is the maximum or minimum value, set whether to show the minimum or maximum value event when the point is up or down.
Onchanging: triggered when the position value is changing
Onchangingex: triggered when the position value is changing. The difference is that in its event, you can get its new value and click the up or down button.
Onclick: triggers the thotkey attribute when you click the button.
Hotkey: set or get the hotkey
Invalidkeys
Modifiers: Set the default type event
Onchange: The tanimate attribute occurs when the hot key changes.
Active: Activate the control.
Center: whether the animation is displayed in the middle
Commonavi:
Filename:
Framecount: the number of dynamic frames returned. It is read-only.
Frameheight: animation height, read-only
Framewidth: Specifies the animation width.
Open: open an animation
Repetitions: set the number of cycles
Reshandle: returns a handle containing the AVI resource module.
Resid: Specifies the AVI resource ID.
Resname: Specifies the AVI Resource Name.
Startframe: Start Frame
Stopframe: the frame to be stopped.
Timers: sets whether to return a time message method.
Canautosize: Adjust the new size and return whether to allow
Play: start playing
Reset: reset to the original default value
Seek: displays the specified frame.
Stop: stops an animation event.
Onclose: triggered when the animation is disabled
Onopen: triggered when an animation is opened.
Onstart: triggered when the animation starts.
Onstop: triggers the tdatetimepicker attribute when the animation is stopped.
Calalignment: whether the drop-down list is left-aligned or right-aligned
Checked: When showcheckbox is set to true, set whether checkbox is selected.
Dateformat: Set whether to display a date in the form of a short date or a long date.
Datemode: how to display the control
Droppeddown: Read-Only. determines whether to list the drop-down list.
Format: Set the display mode. For example, 'today' S Date: 'mmm DD, yyyy
Kind: Select whether to display the time or date
Parseinput: whether user input is allowed
Showcheckbox: whether to display checkbox
Time: indicates the time event that the user enters.
Onchange: triggered when the date changes
Oncloseup: triggered when the drop-down box is closed
Ondropdown: triggered when the drop-down box is opened
Onuserinput: triggers the tmorthcalenbar attribute when the user inputs
Calcolors: sets the color of each part of the control.
Date: Specifies the date on the control.
Enddate: Specifies the last date selected on the control.
Firstdayofweek
Maxdate: the maximum allowed date.
Maxselectrange:
Mindate: the minimum allowed date.
Multiselect: whether multiple selections are allowed
Showtoday: whether to display the date of today
Showtodaycircle: whether to add a flag to today's date
Weeknumbers: shows whether each week is the week of the year.
Canautosize: sets the control size and returns whether to reset it.
Constrainedresize: sets the maximum, minimum width, and height of the control.
Getcalendarhandle: return the calendar handle.
Msgsetcalcolors: Set the color of each part of the control.
Msgsetdatetime: set the current date
Msgsetrange: set a date range event
Ongetmonthinfo: triggers the ttreeview attribute when the current month changes.
Autoexpand: Set whether to automatically open the default item
Canvas: Read-only, access its canvas
Changedelay: determines the latency of the selected node and onchange event. The unit is ms.
Droptarget: determines whether the node in the tree-off view is displayed as the playback target.
Hideselection: whether the selected item has visual effects when the focus leaves the control.
Hottrack: When the value is true, the cursor is highlighted when it passes through the list.
Images: add an image to a node
Indent: determines the number of pixel indentations relative to the expanded parent node when the hair style is set to a node.
Items: operate on each node
Multiselect: whether multiple selections are allowed
Multiselectstyle: When multiselect is true, determine how multiple selection nodes work
Readonly: Read-only or not
Rightclickselect: This attribute allows the select attribute to specify the Node Selected by the Right-click button.
Rowselect: if it is true, the entire row is displayed in height. Ignore this attribute if showlines is true.
Selected: operation on a selected knot
Selectioncount: number of nodes selected. If not, it is null.
Selections: returns the information of a selected node, read-only
Showbuttons: whether to display the + and-buttons
Showlines: whether to display connection lines
Showroot: whether to display the main connection line
Sorttype: select the sorting type
Stateimages: provides a set of node status bitmaps. The status bitmap is displayed on the left of the project icon as an additional image.
ToolTips: Specifies whether a tooltip is displayed in the project of the control.
Topitem: Specifies the top-level node method.
Alphasort: sorts nodes alphabetically. If the node is successfully returned, the return value is true.
Clearselection: cancels all selected nodes.
Customsort: nodes can be sorted in the order specified by sortproc.
Deselect: cancels the selected node
Findnexttoselect: returns the next selectable node.
Fullcollapse: collapse all nodes of the component, which can hide all nodes except the first-level node.
Fullexpand: All nodes in the extended component
Gethittestinfoat: determines which part of the tree map the points specified by X and Y are located.
Getnodeat: You can access nodes at locations specified by X and Y.
Getselections: generate the ongetselections event. Clear alist and copy all selected node objects to it, and return the value of selected.
Isediting: indicates whether the file is being edited.
Loadfromfile: the content in the control is specified by the specified file.
Loadfromstream: the content in the control is specified by the specified stream.
Savetofile: Save the content in the control to a file.
Savetostream: Save the content in the control to the stream.
Select: select the specified node.
Subselect event
Onaddition: triggered when a new node is added.
Onadvancedcustomdraw: triggered at different stages during Tree View Creation
Onadvancedcustomdrawitem: triggered at different stages during the creation of a new node in the Tree View
Onchange: triggered when the selected node changes
Onchanging: triggered when the selected node is about to change
Oncollapsed: generated after nodes are folded
Oncollapsing: triggered when nodes are folded
Oncompare: triggered when two nodes are compared during node sorting.
Oncreatenodeclass: triggered when a new node is created.
Oncustomdraw: Draw component group generation
Oncustomdrawitem: generated before the draw Node
Ondeletion: triggered when a node is deleted
Onedited: triggered when the user starts to edit the text of the node.
Onediting: triggered when the user starts to edit the text attribute of the node.
Onexpanded: generated after expanding a node
Onexpanding: indicates that the node is to be expanded.
Ongetimageindex: triggered when the tree view finds the node's imageindex
Ongetselectedindex: generated when you look up the imageindex of a node

Tlistview Properties
Allocby: the total number of projects that can be specified
Boundingrect: obtains the rectangular screen coordinates of all items in the encapsulation List View, allowing the application to adjust the size of the component, allowing the adaptation project to determine whether the mouse is on its list project
Checkboxes: whether to add a checkbox before the project
Column: Read-only, operate on the specified Column
Columnclick: Specifies whether the oncolumnclick event will occur when the user's title
Columns: operate on columns
Droptarget: Indicates whether a project is displayed as a drag-and-drop object in the List View.
Flatscrollbars: whether to smooth the scroll bar
Fulldrag: whether to redraw a label when dragging it
Gridlines: whether to display a grid when viewstyle is vsreport
Hideselection: whether the selected item has visual effects when the focus leaves the control.
Hottrack: when it is true, the cursor is highlighted when it passes through the list item
Hottrackstyles: Specifies the hotspot tracking style.
Hovertime: specifies the time (in MS) that the mouse must stay before the list item is selected. this parameter is valid only when hottrack is true.
Iconoptions: Set the icon options
Itemfocused: determines projects that can be edited by users and sets the focus.
Itemindex: The current specified project.
Items: Operate the project
Largeimages: The image displayed by this control when viewstyle is vsicon
Multiselect: whether multiple selections are allowed
Ownerdata: if it is true, you can specify the list view as virtual
Ownerdraw: set this attribute to allow the List View to receive ondrawitem events instead of drawing default list items.
Readonly: Set read-only
Rowselect: whether to allow the entire row to be selected. This attribute is valid only when viewstyle is vsreport.
Selcount: Read-Only returns the number of items selected
Selected: Specifies the List View project marked by the project selected in the control.
Showcolumnheaders: whether to display the column title. You can use columns to create and add a column title.
Showworkareas: whether to draw a workspace with its color and display name labels
Smallimages: displays the image of the project when viewstyle is exclusive to vsicon.
Sorttype: select the sorting type
Stateimages: Specifies the bitmap to be displayed here.
Topitem: Specifies the top Project
Vieworigin: determines the logical region of the List Image
Viewstyle: Set the style of the control.
Visiblerowcount: When viewstyle is vslist or vsreport, you can determine the number of projects in a single column in the visible area. Only visible projects are counted.
Workareas: When viewstyle is vsicon or vssmallicon, this attribute is used to define the separate work areas of customer areas in the List View. Method
Alphasort: Automatic Sorting when sorttype is not set to stnone
Arrange: clears the bitmap arrangement when the viewstyle attribute is vsicon or vssmallicon.
Clear: deletes all projects.
Clearselection: remove the selected project
Copyselection: copy to a project to the project specified in the Parameter
Customsort: This method uses the sortproc function to sort items in the list.
Deleteselected: Delete the selected project.
Findcaption: searches for list view items marked by a string specified by value.
Finddata: Lists data attributes and values.
Gethittestinfoat: returns the location of the specified coordinate.
Getitemat: determines the project in which the given coordinates are located.
Getnearestitem: locate the Project closest to the given coordinate
Getnextitem: returns the next project in the Start Project.
Getsearchstring: obtains the Character Sequence entered by the user when the list view has a focus. In the list view, add a string to the search string and search for matched items.
Isediting: determines whether the current user is operating on the project
Scroll: you can scroll the contents of the List View through horizontal pixels and vertical pixels.
Selectall: select all projects
Stringwidth: Set the string height.
Updateitems: The scope of the re-painting project
Additem: Add a project
Moveselection: Move a Project event
Onadvancedcustomdraw: different states are generated during component painting. Unlike the ondrawitem event, the component receives the event even if ownerdata is false.
Onadvancedcustomdrawitem: triggered by different States during component project plotting
Onadvancedcustomdrawsubitem: triggered by different States during component sub-project painting
Onchange: triggered when the project in the list changes
Onchanging: triggered when the project in the list is changing
Oncolumnclick: triggered when a column is clicked
Oncolumndragged: triggered when a column is dragged to a new position.
Oncolumnrightclick: triggered when you right-click a column.
Oncompare: triggered when the two items need to be compared and sorted.
Oncustomdraw: triggered when the list view must be drawn
Oncustomdrawitem: triggered when a project in the list must be drawn
Oncustomdrawsubitem: triggered when a subitem in the list must be drawn
Ondata: This event occurs immediately before a project is displayed in the List View component.
Ondatafind: searches for a project and returns custom data related to the project. This event is valid only when the ownerdata attribute is true.
Ondatahint: occurs when the content of the List View changes (for example, the user scrolls the list view ).
Ondatastatechange: This event occurs when the scope of the project changes. This event is valid only when the ownerdata attribute is true.
Ondeletion: triggered when a project in the List View is deleted.
Ondrawitem: triggered when a project is drawn
Onedited: triggered when the caption of a project is edited.
Onediting: triggered when a project is being edited
Ongetimageindex: triggered when a project is to be displayed in a component
Ongetsubitemimage: When a subitem is to be displayed as triggered in the component
Oninfotip: triggered when a user stops a project in the List View
Oninsert: Insert a new project in the List View
Onselectitem: triggers theadercontrol attribute when a project is selected
Canvas: Read-only, used to access the canvas
Dragreorder
Fulldrag: Specifies whether the title is re-painted when being dragged.
Hottrack: determines whether the character color changes when the mouse cursor passes through the text of each item. Valid only when style is hsbuttons
Operations
Style: select a style for the control
Method
Flipchildren: reverse the order of Project events
Ondrawsectionl: triggered when a project needs to be repainted
Onsectionclick: triggered when a project is clicked
Onsectionresize: triggered when the project size is adjusted again
Onsectiontrack: triggered when the project is re-adjusted, but compared with the previous one, it reflects the current state of the project.
Oncreatesectionclass: Specifies the object class of the project when the program is running.
Onsectiondrag: triggered when a project is dragged.
Onsectionenddrag: this event is triggered when the project is moved. It is a tstatusbar attribute after the onsectiondrag event.
Autohint: whether to automatically display the hint of all controls on its parent Control
Canvas: Read-only, access its canvas
Panels: Specifies multiple panels.
Parent: specifies its parent control.
Simplepanel: sets whether the control displays a simple panel or multiple panels.
Simpletext: Set to display simple information
Sizegrip: whether to display the triangle mark on the right
Usesystemfont: whether to use the system font
Executeaction: executes the action specified in the Action attribute.
Flipchildren: Specify the opposite position of the Panel
Setbounds: Set the upper, lower, left, and right position events of the control.
Ondrawpanel: triggered when the panel needs to be re-drawn
Oncreatepanelclass: triggered when a panel needs to be created
Onhint: triggers the ttoolbar attribute when a prompt is displayed.
Buttoncount: Number of buttons on the toolbar. Read-Only
Buttonheight: Set the button height.
Buttons: Operate the buttons on the toolbar. Read-Only
Buttonwidth: Set the button width.
Customizable: whether the toolbar can be customized when the program is running
Customizekeyname
Customizevaluename
Disabledimages
Flat: whether there is a floating Effect
Hotimages
Images: select an image for the buttons.
Indent: the distance between the control and the left side of the control.
List: display style of the button in the control. If it is set to true, the image is displayed on the left and the label is displayed on the right.
Menu: select a Main Menu
Rowcount: read-only. Returns the number of rows in the control.
Showcaptions: whether to display caption text on the button
Transparent: whether transparent
Wrapable: determines whether to automatically wrap events when the total width of all controls in the control is greater than the width of the control.
Onadvancedcustomdraw
Onadvancedcustomdrawbutton
Oncustomdraw: triggered when the control must be drawn
Oncustomdrawbutton: triggered when the button on the control is drawn
Oncustomizeadded: triggered when you add a button to the control.
Oncustomizecandelete: triggered when you try to delete a button from the control
Oncustomizecaninsert: triggered when a user attempts to add a button to the control.
Oncustomized: triggered when the user modifies the control.
Oncustomizedelete: triggered when a user deletes a button from the control.
Oncustomizenewbutton: triggered when a user attempts to add a new button to the control
Oncustomizereset: triggered when the user cancels the toolbar defined by the user
Oncustomizing: triggers the tcoolbar attribute when the user cancels the change in the toolbar.
Bandborderstyle: Set the border style in the tcoolbar Area
Bandmaximize: Specifies the operation of a user to maximize a single zone. This indicates that the user cannot maximize a fixed size zone.
Bands: Save a tcoolbands
Bitmap: The image displayed after the tcoolband Area
Constraints: specify the maximum and minimum values of the component width and height. The widget must be resized in hours and cannot violate these constraints.
Docksite: Specifies whether a component is the target of the drag/drop operation.
Fixedorder: if it is true, you can drag the mouse to rearrange the areas in the tcoolbar, but the original order cannot be changed.
Fixedsize: determines whether the tcoolbar area can maintain a uniform height (or width)
Showtext: whether to display the content in tcoolband text when the program is running
Vertical: The default value is false. The partitions in the component are arranged horizontally from left to right from top to bottom. Otherwise, the opposite method is used.
Flipchildren: This method reloads inherited methods to prevent child component events from being flipped
Onchange: triggers the tpagescroller attribute when the position and size change.
Autoscroll: whether to scroll automatically
Buttonsize: Set the button size.
Control: select the control
Dragscroll: if it is true, when you drag the arrow on the page rolling component, the page rolling component will scroll
Margin: the distance between the controlled control and the control.
Orientation: sets the direction of the control.
Position: Method for Determining the rolling position of the page's rolling Components
Getbuttonstate: return the status of the button
Scroll: an event is generated immediately before the page rolling component is rolled.
Onscroll: triggers the tcommboboxex attribute when scrolling.
Dropdowncount: Maximum number of items in the drop-down list
Images: select an image for the project in the drop-down list
Itemheight: the height of the item in the drop-down list.
Itemsex: operate projects in the drop-down list
Seltext: selected text
Style: the style of the drop-down list box.
Styleex: determines the project appearance and behavior in the list
Csexcasesensitive: searches for case-sensitive headers, including the locations in the list as user type items
Csexnoeditimage: items in the list do not display the corresponding image
Csexnoeditimageindent: the items in the list do not show indentation.
Csexnosizelimit: the expanded combo box can be vertically adjusted to a drop-down button smaller than the editing area
Csexpathwordbreak: The backslash (), forward slash (/), and period (.) are separated to guide the input of the path name and URLs event.
Onbeginedit: triggered when the user starts to edit the string
Onendedit: triggered when the user finishes editing the string

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.