PRODUCTS » Quick Links

FEATURED PRODUCT

Create modern-looking & feature-rich applications with over 350 components including award-winning grids, scheduling components, Office 2010/2007/2003 ribbon & toolbars, calendars, application update and much more...

License only 195 EUR See More

LOGIN

Customer login to access products, support information & special benefits.

SEARCH

STAY IN TOUCH

Add your e-mail address here to receive the monthly TMS Software alerts.

 
PRODUCTS » VCL COMPONENTS » TADVSTRINGGRID
v7.1.0.4 (Jun 11, 2013)



Purchase a license



TAdvStringGrid

The high productivity & feature-packed grid control

Tips and Frequently Asked Questions

 Setting different max. edit lengths for the inplace editor


If the max. number of characters for editing should be limited, this can be done with then LengthLimit property of the inplace editor. When LengthLimit is 0, there is no limitation to the nr. of characters that can be typed in the editor. To set a different max. nr of characters per column, following code can be used in the OnGetCellEditor event :
procedure TForm1.AdvStringGrid1GetEditorType(Sender: TObject; ACol,
ARow: Integer; var AEditor: TEditorType);
begin
  if Assigned(AdvStringGrid1.NormalEdit) then
  begin
    case acol of
    1:AdvStringGrid1.NormalEdit.LengthLimit := 4;
    2:AdvStringGrid1.NormalEdit.LengthLimit := 8;
    else
      AdvStringGrid1.NormalEdit.LengthLimit := 0
   end;
  end;
end;
This sets the max. edit length for column 1 to 4 characters, for column 2 to 8 eight characters and unlimited for all other columns.

Bruno Fierens (Jan 27, 2009)


Buy online

CreditCards Accepted
TAdvStringGrid
for Delphi 7, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, C++Builder 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4 (Prof/Enterprise/Architect)
View licensing FAQ
  1. License for commercial use: Single developer license, Small team license, Site license
  2. Includes full source code
  3. Free updates for a full version cycle (from v7.1 to v8.0)
  4. Free priority support through email, newsgroup and forum

€ 95
Single developer license
for 1 developer
order now or add to cart
€ 150
Small team license
for 2 developers
order now or add to cart
€ 375
Site license for unlimited
developers in the company
order now or add to cart


This product is also available in the following bundle(s):

  1. TMS Component Pack

Copyright © 1995 - 2013 TMS Software v3.5