Documents
NextGrid & NextDBGrid
- Html Column Tutorial
- Upgrade existing projects for loading changes
- Edit events in NextGrid
- NextGrid Vista Style
- NextGrid How To
- Integrating Inplace Editors
- NextGrid Slide Style Tutorial
- InputLine Tutorial
- FieldChooser Tutorial
- Using Editors in runtime
- Grid Report Tutorial
NextGrid
- TreeColumn Tutorial
- NextGrid Quick Start
- Custom Draw in NextGrid
- Export to XML from NextGrid
- Optimize NextGrid
- NextGrid Custom Sorting
- VirtualColumn Tutorial
- Graphic Column Tutorial
NextDBGrid
- NextDBGrid Quick Start
- NextDBGrid Events
- NextDBGrid How To
- Sorting records in NextDBGrid
- LookupColumn Tutorial
NextInspector
- NextInspector Advanced tutorial
- ToolbarItem tutorial
- NextDBInspector Tutorial
- NextInspector Item Types
- Map VCL property to item
- NextInspector Quick Start
NextSheet
NextCollection
- NxAlertWindow Tutorial
- NxInfoPanel Tutorial
- Vista Styled Panels
- NxPathControl and NxNotebook tutorial
- NxPathControl Quick Start
- NxFlipPanel and NxHeaderPanel Quick Start
- NxOutlookBar Tutorial
- NxPageControl and NxNotebook Quick Start
- NxButton Tutorial
Misc
- Component Names Change
- NxComboBox styles
- Numeric FormatMask
- NxVirtualDataSet tutorial
- DateTime FormatMask
- NxPreview Quick Start
- 32bit Bitmaps Tutorial
- Quick update
- Enable typing unicode characters in InplaceEditors
- Using NxColorScheme
- NxProgress Tutorial
- NxAutoCompletion Tutorial
Labs
NextGrid .NET
Integrating Inplace Editors
Related Articles:
Info
- Skill:
- Version: 1.0.0
- Author: Bojan Nikolic
- Created: 2008-07-24
- Updated: 2008-07-24
For example, you may attach NxSpinEdit control to Progress Column, or to Rate Column. Also you can attach NxColorPicker to Text Column.
Setting standalone edit
First we need to place one NxEdit component (NxEdit, NxSpinEdit, NxColorPicker...) on form.
You can set any property such as Font, Color, Alignment, Glyph, Margin...
Also, you can set some of Events too.
Please note that events OnChange, OnKeyDown , OnKeyPress, OnEnter, OnExit will be delegated to Grid.
After you have finish with setting properties, turn Visible property to False, because this Edit control will be used only as Inplace Editor. Also, for better visual appearance, set BorderStyle to bsNone
2. Attach Edit to a Column
To attach edit to a Column simply set InplaceEdit to this edit component.
Also, don't foget to enable editing inside this column with setting coEditable to True inside Options property of Column.
Stand-alone editors may be also used inside Input Line. In that case don't forget to set coCanInput to True inside Options property of Column.