EnableInteractiveSelection: Boolean;
The EnableInteractiveSelection property determines whether data of the selected range can be moved, and cells can be automatically filled based on the selected range.
Available values:
True. Default value. It is available to move data of the selected range and autofill selected cells with data in the table.
False. It is prohibited to autofill selected cells with data.
Executing the example requires a form that contains the Button component with the Button1 identifier, the UiTabSheet component with the UiTabSheet1 identifier and the TabSheetBox component with the TabSheetBox1 identifier. Set the UiTabSheet1 as a data source for the TabSheetBox1.
This example is a handler of the OnClick event for the Button1 component.
Add a link to the Tab system assembly.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
View: ITabView;
Begin
View := UiTabSheet1.TabSheet.View;
View.EnableInteractiveSelection := False;
End Sub Button1OnClick;
After executing the example autofilling of cells is disabled.
See also: