Links
EControl Form Designer Pro
TzCustomFormDesigner Methods

The methods of the TzCustomFormDesigner class are listed here.

Method 
Description 
Adds menu items to the popup Menu associated with the component editor of selected in designer component.
To remove previously added component editor's menu items use ClearCompEditorMenu method. 
Indicates whether the designer contains undone changes that can be repeated. 
Indicates whether the designer contains changes that can be backed out. 
Determines whether design operation specified by the Action parameter can be executed. 
Removes component editor's menu items added by the AddCompEditorMenu method. 
Clears the undo buffer so that no changes to the Target can be backed out. 
Closes in-place editor. 
OnDragDrop event dispatcher. 
OnDragOver event dispatcher. 
Executes designer operation specified by the Action parameter. 
Performs alignment operation on selected components. 
Aligns selected components to the closest grid point. 
Moves a selected component in front of all other components on the form. This is called changing the component's z-order. 
Creates default popup menu. 
Cancels current drag&drop design operation. 
Check if component can be deleted. 
Returns set of possible designer operations. 
Check if component can be inserted. 
Check if component can be moved. 
Checks clipboard for components saved to it. 
Check if component can be renamed. 
Check if component can be resized. 
Check if component can be selected. 
Resets selection. 
 
Creates and initializes a TzCustomFormDesigner instance. 
Cuts selected components to clipboard. 
Deletes the selected component or components 
Destroys an instance of TzCustomFormDesigner. 
Shows hint current design state. 
Invokes an action with the component as its target. 
Provides drag-and-draw graphic operation. 
Edit 
Displays the component editor for the specified component. 
Provides drag-and-draw graphic operation. 
Allows to reverse the layout of components in the current form to a right-to-left mirror image. 
Returns component 
Returns the component with the name passed as a parameter. 
Returns the name of the component passed as its parameter. 
Executes a callback for every component that can be assigned a property of a specified type. 
Looks for control at specified point on the window prn. 
Returns the name of a specified event handler. 
Returns new generated name for particular class of the component. 
Returns object name. 
Load Root component from file. Inline events from resource file are stored in Events property if property StoreEvents is True. If IgnoreReadErrors is True - all read errors are ignored. 
Load Root component from stream. Inline events from resource file are stored in Events property if property StoreEvents is True. If IgnoreReadErrors is True - all read errors are ignored. 
Returns the current entity being edited by the form designer. 
Returns the class name for the root component. 
Returns script procedure name assigned to the event. 
Returns the size of the logical designer window. 
Fills a list with all selected components on the current root object. 
Redo 
Call Redo to repeat last undone operation. 
Returns the current state of the Shift, Alt, and Ctrl keys. 
Allows the designer to respond when a notification is sent to the form. 
Indicates whether a component does not appear directly in the form designer. 
Specifies whether component is locked and can not be edited in designer. 
Saves Root component to file FileName with events information. AsText specifies format of the file: text or binary. 
Determines when the designer should handle a Windows message. 
Save Root component to stream with events information. AsText specifies storage format: text or binary. 
Indicates whether component is protected and can not be changed by designer. 
Returns True if entire Root is selected 
Indicates whether the source file for the component being designed is read-only. 
Returns number of selected components excluding Root and non-component objects. 
Respond to key press events. 
Respond to keyboard input. 
Respond to released key. 
Indicates whether an event handler with a specified name already exists. 
Notifies property and component editors when a change is made to a component. 
Shows tab order icons over children controls of the selected control. Click on the children controls changes their tab order. To exit "Show Tab Icons" mode click on any not child control or press ESCAPE key. 
Generates an OnMouseDown event. 
Generates an OnMouseMove event. 
Generates an OnMouseUp event. 
Performs navigation between control using keyboard 
Updates an action component to reflect the current state of the component. 
Deselects all components in the form designer. 
Undo 
Backs out last change in the undo buffer. 
Allows the designer to respond when a notification is sent to the form. 
Notifies active designer about changing selection list 
Called for each WM_PAINT message to perform specific painting over control. 
Paints the alignment grid on the form's canvas. 
Pastes the contents of the clipboard into the selected component or components. 
Callback procedure for TReader.ReadComponents 
Renames an existing event handler. 
Scale all controls using defined ratio 
Selects all components. 
Replaces the current set of selected components by a single specified object. 
Returns selected component if selection consist of single component; Root component, if there is no selection; nil if selection consists of several components. 
This method call after selection has been changed. 
Selects object passed as Instance parameter. 
Selects all controls on the Prn control. 
Moves a selected component behind all other components on the form. This is called changing the component's z-order. 
Setting new name for pasting component 
Assigns script procedure with particular event of the Instance. 
Changes the currently selected set of components. 
Activates the code editor with the input cursor in a specified event handler. 
Show designer popup menu at the specified screen position. 
Perform size operation to selected components 
Makes start settings before dragging operation 
Generates a unique name from a specified base string. 
Updates positions of component icons. 
Determines whether method MAddr of object ARoot is valid method, i.e. it may be assigned to the event. 
 
Method 
 
protected 
 
virtual 
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!