When working with the TextBox, CheckBox, and Label controls, you can enter or format the text by double-clicking directly in the control area on the report design surface. You can still enter text in the Properties window and in code.
The text in the control is formatted in edit mode by means of the ActiveReports toolbar, or by modifying properties in the Properties window. The formatting commands are applied to the entire text in the selected control.
Note: Text formatting changes in the Properties window are immediately applied to the text in the selected control, and changes made by means of the toolbar are immediately reflected in the Properties window. |
Note: If the TextBox or Label control with the Justify alignment is put into edit mode, the alignment value automatically changes to the default one - Left. However, after exiting edit mode, the alignment value of the TextBox or Label control automatically changes back to Justify. |
It is also possible to use key commands when working with a textbox or label control in edit mode.
Key Combination | Action |
---|---|
Enter | New line. |
Shift + Enter | New line. |
Ctrl + Enter | New line. |
Alt + Enter | Saves modifications and exits the edit mode. |
Esc | Cancels modifications and exits the edit mode. |
In the End User Designer, you can disable this feature using the EditModeEntering and EditModeExit events.