⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 propertydescs.pas

📁 企业进销存管理系统
💻 PAS
📖 第 1 页 / 共 4 页
字号:
     Result := 'Default is True. Set PrintWithGridFormat to NOT apply any cell coloring or font characteristics as defined in RowFont, RowColor, CellFont, CellColor, Col.Color, Col.Font. In addition, the ' +
               'report will also execute the OnGetDrawInfo event for each cell being presented in the report.'
  else if sPropertyName = 'PrintLinesPerPage' then
     Result := 'Setting this property will determine the height of each row printed in the report (default = 40).'
  else if sPropertyName = 'PrintOrientation' then
     Result := 'Use this property to specify whether the grid should be presented in landscape or portrait when previewing or printing the grid. You can also adjust how many columns ' +
               'are to be printed on the report by using the PrintCols property.'
  else if sPropertyName = 'PrintTitle' then
     Result := 'This value will be centered at the top of each page of the grid report.'
  else if sPropertyName = 'PrintTotals' then
     Result := 'When the grid is previewed or printed, all columns with PrintTotals set to true will be summed and printed on the last page of the report.'
  else if sPropertyName = 'ProvideGridMenu' then
     Result := 'If no popupmenu is associated, then a default popupmenu will be provided, otherwise, the following three menu options will be presented at the bottom of the application ' +
               'defined popupmenu (with a separator).' + #10#10 +
               'Preview Grid	Performs a print preview of the current grid' + #10 +
               'Print Grid	  Prints the current grid directly to the default printer' + #10 +
               'Export Grid	  Presents a save dialog to save the grid contents to either a CSV or XML file'
  else if sPropertyName = 'ReadOnlyButton' then
     Result := 'Use the ReadOnlyButton property to turn the display of buttons on or off in cells that are read only. If ReadOnlyButton is set to false, buttons are not displayed ' +
               'in read only cells, otherwise buttons are displayed. Default, ReadOnlyButton is True.' + #10#10 +
               'Whether a cell is read only is determined by the CellReadOnly property in combination with ReadOnly property of the cell''s column and the RowReadOnly property of the cell''s row.'
  else if sPropertyName = 'ResizeCols' then
     Result := 'Use ResizeCols to specify whether the user can resize columns with the mouse. Default, the value is rcSingle.' + #10#10 +
               'ResizeCols can take the following values:' + #10#10 +
               'Value			Meaning' + #10#10 +
               'rcNone			Resizing is not allowed. ' + #10 +
               'rcSingle			Only a single column can be resized at a time.' + #10 +
               'rcAll			Resizing a column resizes all columns.'
  else if sPropertyName = 'ResizeColsInGrid' then
     Result := 'ResizeColsInGrid specifies if a user can resize columns with the mouse in the grid''s cell area by positioning the mouse over a vertical grid line below the heading. ' +
               'If ResizeColsInGrid is True, resizing can occur in the cell area. If ResizeColsInGrid is False, resizing can only occur in the grid''s heading. Default, ResizeColsInGrid is False.' + #10#10 +
               'ResizeColsInGrid only applies if ResizeCols is not rcNone.'
  else if sPropertyName = 'ResizeRows' then
     Result := 'Use ResizeRows to specify whether the user can resize rows with the mouse. Default, the value is rrAll.' + #10#10 +
               'ResizeRows can take the following values:' + #10#10 +
               'Value			Meaning' + #10#10 +
               'rrNone			Resizing is not allowed.' + #10 +
               'rrSingle			Only a single row can be resized at a time.' + #10 +
               'rrAll			Resizing a row resizes all rows.'
  else if sPropertyName = 'ResizeRowsInGrid' then
     Result := 'ResizeRowsInGrid specifies if a user can resize rows with the mouse in the grid''s cell area by positioning the mouse over a horizontal grid line next to the rowbar. ' +
               'If ResizeRowsInGrid is True, resizing can occur in the cell area. If ResizeRowsInGrid is False, resizing can only occur in the grid''s rowbar. Default, ResizeRowsInGrid is False.' + #10#10 +
               'ResizeRowsInGrid only applies if ResizeRows is not rrNone.'
  else if sPropertyName = 'RowBarAlignment' then
     Result := 'Use RowBarAlignment to set the vertical alignment of the RowBarIndicator. It can be either aligned to the top, the center or the bottom of a row. ' +
               'Default, RowBarAlignment is vtaDefault, which aligns to the top.' + #10#10 +
               'RowBarAlignment can take the following values:' + #10#10 +
               'Value			Meaning' + #10#10 +
               'vtaDefault		Align to the top.' + #10 +
               'vtaTop			Align to the top.' + #10 +
               'vtaCenter		Center vertically.' + #10 +
               'vtaBottom		Align to the bottom.'
  else if sPropertyName = 'RowBarIndicator' then
     Result := 'Set RowBarIndicator to false if you do not want the current row indicator displayed in the rowbar. ' +
               'The current row indicator identifies which row is the current row in the grid. Default, RowBarIndicator is true.'
  else if sPropertyName = 'RowBarOn' then
     Result := 'Use RowBarOn to set the rowbar visible or invisible.'
  else if sPropertyName = 'RowBarWidth' then
     Result := 'Use RowBarWidth to retrieve or set the width of the rowbar. Default, the value is 14.'
  else if sPropertyName = 'RowChangedIndicator' then
     Result := 'RowChangedIndicator specifies if a row changed indicator (a pencil) is shown in the rowbar when the current row is edited, and if the indicator is automatically ' +
               'reset for the edited row when moving to a new row. Default, RowChangedIndicator is riOn.' + #10#10 +
               'RowChangedIndicator can take the following values:' + #10#10 +
               'Value			Meaning' + #10#10 +
               'riOn			A row changed indicator (a pencil) is displayed in the rowbar if the current row has been edited, and the row''s RowChanged property is set to True. ' +
               'The grid will continue to display the indicator for the row until it has been explicitly reset. It can be reset by setting the row''s RowChanged property to False, ' +
               'or by calling ResetRowProperties([prChanged]) to reset the RowChanged property for all rows. For the TtsDBGrid, riOn does not apply when the grid is databound.' + #10 +
               'riOff			No row changed indicator is displayed, even if the row is being edited. The row''s RowChanged property remains False.' + #10 +
               'riAutoReset		A row changed indicator is displayed when the row is being edited. When moving away from the row, the row''s changed indicator will be reset, as well as the row''s RowChanged property.'
  else if sPropertyName = 'RowMoving' then
     Result := 'Use RowMoving to either allow or disallow the user from moving rows in the grid. A user can move rows by first selecting the rows with the mouse and then subsequently ' +
               'clicking on a selected row with the left mouse button and dragging the mouse to a new position. RowSelectMode should be turned on to allow the movement of rows by the user. ' +
               'If RowMoving is false, rows can still be moved by setting their DisplayRownr. Default, RowMoving is true.' + #10#10 +
               'In the TtsDBGrid, you cannot move rows if the grid is being used as a data bound control (i.e. the DataSource has been assigned).'
  else if sPropertyName = 'Rows' then
     Result := 'Use Rows to set or determine the number of rows in the grid. The number of rows does not include the heading or the insert row, but does include the fixed rows. ' +
               'The is not included in the row count. Rows should be equal to or larger than 0. Default, the value is 4.' + #10#10 +
               'FOR DATABOUND...' + #10 +
               'When the grid is DataBound, use Rows to determine the currently known number of records in the dataset of the grid. When ExactRowCount is true, Rows is equal to the ' +
               'number of records in the dataset. When ExactRowCount is false, Rows is an estimate of the number of records in the dataset. Use CalculateRows to (re)calculate the ' +
               'exact number of records.' + #10#10 +
               'A change in the number of records in the dataset is not immediately reflected in the number of Rows of the grid. For performance reasons, the grid does not continuously ' +
               'recalculate the number of records. Instead, when as a result of scrolling the data it notices that there are more or less records than before, the row count is adjusted accordingly.' + #10#10 +
               'The range of the vertical scrollbar and the placement of the thumb in the scrollbar is affected by the number of Rows. As long as the number of records in the dataset is unknown, Rows only ' +
               'contains an estimate of the number of records and will in general be less than the actual number of records. When the user starts scrolling, the range and thumb position are dynamically ' +
               'adjusted to continuously reflect the new estimate of the number of records. When the user scrolls right to the end having started from the top, or right to the top having started from the ' +
               'bottom, the correct number of records will be known.'
  else if sPropertyName = 'RowSelectMode' then
     Result := 'Use RowSelectMode to set the row selection mode. A user can select columns with the mouse or rows can be selected by using either the RowSelected property or the SelectRows method. ' +
               'See selecting rows on how to select rows with the mouse. Default, the RowSelectMode is rsMulti.' + #10#10 +
               'RowSelectMode can take the following values:' + #10#10 +
               'Value			Meaning' + #10#10 +
               'rsNone			No rows can be selected.' + #10 +
               'rsSingle			Only one row can be selected at a time.' + #10 +
               'rsMulti			Multiple rows can be selected. Clicking in the upper left corner of the grid will select or deselect all rows at the same time.'
  else if sPropertyName = 'ScrollSpeed' then
     Result := 'Use ScrollSpeed to read or set the speed at which the grid scrolls when selecting or moving rows, columns or cells with the mouse. Default, the value is spVariable.' + #10#10 +
               'ScrollSpeed can take the following values:' + #10#10 +
               'Value			Meaning' + #10#10 +
               'spHigh			Scrolling is always at a high speed.' + #10 +
               'spLow			Scrolling is always at a low speed.' + #10 +
               'spVariable		Scrolling is initially at a low speed and switches to a high speed when you move the mouse further away.'
  else if sPropertyName = 'SelectedAreaCursor' then
     Result := 'Use SelectedAreaCursor to specify the shape of the cursor over the selected area of the grid, i.e. selected rows, columns and cells. ' +
               'The SelectedAreaCursor does not apply for the heading or the rowbar. Use this property to visually indicate that dragging is possible if ' +
               'you want to build dragging capabilities into the grid. (See also the OnCanStartDrag event). When SelectedAreaCursor is crDefault, no separate cursor is displayed over the ' +
               'selected area of the grid. Default, the value is crDefault.'
  else if sPropertyName = 'SelectFixed' then
     Result := 'Use SelectFixed to specify whether fixed rows and columns can be selected. It also applies to selection of the cells within the fixed rows and columns. Default, the value is true.'
  else if sPropertyName = 'SelectionColor' then
     Result := 'SelectionColor sets the background color used for highlighting column, row and cell selections in the grid. Default, SelectionColor is clHighlight.'  + #10#10 +
               'Selections can be displayed in the grid by either highlighting them using the SelectionColor and SelectionFontColor, or by inverting the colors of the items as they appear on '+
               'the screen. Which of the two is used is determined by the SelectionType property. When SelectionType is sltColor, the SelectionColor and SelectionFontColor are used, if ' +
               'SelectionType is sltInvert or sltDefault, inverting is used. Using inverted colors to highlight selections is significantly faster than using customized selection colors.'  + #10#10 +
               'SelectionColor only applies if SelectionType is sltColor (as oppsed to sltInvert).'  + #10#10 +

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -