The Context Menu provides access to commands commonly used in the Design View and Component Tree.

Icon

Menu Name

Description

image

Cut

Copy the selected components to the clipboard and remove them from the Design View.

image

Copy

Copy the selected components to the clipboard.

image

Paste

Paste the selected components from the clipboard.

image

Delete

Delete the selected components from the Design View.

image

Test/Preview

Preview the window using a quick test mode. This is ideal for testing the layout and resizing behavior of your components.

image

Refresh

Re-parse the current source and refresh the Design View.

 Add event handler >

Implement an event handler for an event triggered by the selected component.

 Style >

Change the style of the selected components.

Set Layout >

Change the layout of the selected container.

image

 Order >

Change the relative z-order of the selected component. Bring the widget to the front, send it to the back, bring it forward or send it backward. The command applies to absolute/null layout only.

image

image

 Expose Component…​

Add a public or protected accessor for the selected component. Components exposed in superclasses or in embedded panels can be selected and edited by the user.

image

image

 Morph >

Morph the selected components into another type. Similar component types are listed. Direct subclasses of the select component may also be selected as can any other arbitrary class.

image

 Factory >

Create a factory from the selected component or apply a factory to the selected component.

image

image

 Rename…​

Rename the selected components and/or convert them to fields or local variables.

image