Documents
NextGrid & NextDBGrid
- Integrating Inplace Editors
- Upgrade existing projects for loading changes
- Grid Report Tutorial
- FieldChooser Tutorial
- Using Editors in runtime
- NextGrid How To
- Html Column Tutorial
- NextGrid Slide Style Tutorial
- InputLine Tutorial
- Edit events in NextGrid
- NextGrid Vista Style
NextGrid
- NextGrid Quick Start
- Graphic Column Tutorial
- Optimize NextGrid
- Custom Draw in NextGrid
- VirtualColumn Tutorial
- Export to XML from NextGrid
- NextGrid Custom Sorting
- TreeColumn Tutorial
NextDBGrid
- Sorting records in NextDBGrid
- NextDBGrid Events
- NextDBGrid Quick Start
- NextDBGrid How To
- LookupColumn Tutorial
NextInspector
- NextInspector Item Types
- NextInspector Quick Start
- NextDBInspector Tutorial
- NextInspector Advanced tutorial
- ToolbarItem tutorial
- Map VCL property to item
NextSheet
NextCollection
- NxInfoPanel Tutorial
- Vista Styled Panels
- NxPathControl and NxNotebook tutorial
- NxAlertWindow Tutorial
- NxPathControl Quick Start
- NxButton Tutorial
- NxOutlookBar Tutorial
- NxFlipPanel and NxHeaderPanel Quick Start
- NxPageControl and NxNotebook Quick Start
Misc
- DateTime FormatMask
- NxAutoCompletion Tutorial
- Using NxColorScheme
- NxComboBox styles
- Enable typing unicode characters in InplaceEditors
- NxProgress Tutorial
- NxPreview Quick Start
- Numeric FormatMask
- NxVirtualDataSet tutorial
- Component Names Change
- 32bit Bitmaps Tutorial
- Quick update
Labs
NextGrid Slide Style Tutorial
Related Articles:
Info
- Skill:
- Version: 1.0.0
- Author: Bojan Nikolic
- Created:
- Updated: 2008-07-21
This 2 styles share Columns Settings, Rows and Cells, and Style can be changed at any time with one property: GridStyle
To change style to Slides, set GridStyle property to gsSlides.

Working with Slides is almost same as working with Report. Style can be switched any time and both styles share all data.
Each Slide represent one row, same as in Report Style, but in Slide rows, Cell can be postitioned at any position in row.
Size of each Slide is determined by SlideSize property. SlideSize is usualy set to Value larger than 50.
Position and size cell within slide is specified by SlideBounds property of Column.

In this example we will move cell to Position: X: 120, Y: 20 and cell will have size 120 x 16.

NextGrid also include integrated Design-time Slides Editor which may be picked after right click on component.

After editor is open, work with them is very similar to work with Form Designed from Delphi/CBuilder IDE. Cell may be moved within slide, resized and configured as usuall in ObjectInspector.

Important properties to know are SlideCaption and SlideCaptionLocation. With this 2 properties every cell may have additional caption attached on one of the sides. This "captions" are visible with designer too.
Additional adjustments
SlideSelectionColor property determine color of border around selected slide. Selection of cells may be turned off by setting flag soHideSelection in SlideOptions property.
SlidesOptions property provide access to next flags:
| Name | Meaning |
|---|---|
| soFrame | When True, frame will be drawn around selected slide. |
| soHideSelection | When True, selected frame will be drawn if focused into SlideSelectionColor Color, otherwise in clBtnFace color. |
Comments
2008-05-04 11:17:36
Excellent tutorial, thanks