Frequently Asked Component Specific Questions
Displaying items 1 to 15 of 242, page 1 of 17
<< previous next >>

TWebCopy: C++Builder
(Jan 13, 2009)
For C++Builder users, add following line in your app's main CPP file:
#pragma link "wininet.lib"
Bruno Fierens (Jan 13, 2009)


TAdvNavBar: Runtime TAdvNavBArPanel handling is easy.
(Jan 21, 2009)
TAdvNavBar provides a number of functions to help with this:
// Creates a new panel at the last position
TAdvNavBar.AddPanel: TAdvNavBarPanel
// Creates a new panel at position Index
TAdvNavBar.InsertPanel(Index: Integer): TAdvNavBarPanel
// Removes the panel at position Index in the TAdvNavBar
TAdvNavBar.RemovePanel(Index: Integer)
// Provides access to the TAdvNavBarPanels
TAdvNavBar.Panels[Index: Integer]: TAdvNavBarPanel
Bruno Fierens (Jan 21, 2009)


TAdvMaskEdit: Using the lookup list
(Jan 21, 2009)
Drop a default TAdvEdit on the form and initialize the lookup with code similar
to:
with AdvEdit1.Lookup do
begin
Enabled := true;
DisplayList.Add('Audi');
DisplayList.Add('BMW');
DisplayList.Add('Bugatti');
DisplayList.Add('Ferrari');
DisplayList.Add('Ford');
DisplayList.Add('Mercedes');
end;
type at least 2 characters (default setting) and the lookup list should display
Bruno Fierens (Jan 21, 2009)


TInspectorBar: Sample source code
(Jan 21, 2009)


TColumnComboBox: For programmatically fast loading of data
(Jan 21, 2009)
Call ColumnComboBox.BeginUpdate
before starting to add items and terminate by calling TColumnComboBox.EndUpdate
Example
var
i :Integer;
s :String;
itm :TComboItem;
begin
columncombo.BeginUpdate;
For i := 0 to High(mRecs) do
begin
itm := columncombo.ComboItems.Add;
itm.Strings.Add(IntToStr(mRecs[i].rID));
itm.Strings.Add(mRecs[i].rRnd1);
itm.Strings.Add(mRecs[i].rRnd2);
itm.Strings.Add(mRecs[i].rRnd3);
end;
columncombo.EndUpdate;
end;
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: When I try to install the package, it asks for AdvGrid.pas
(Jan 21, 2009)
Make sure the correct version of ADVGRID.DCU and other DCU files are in your library path, that your library path contains the directory where ADVGRID.DCU is installed and that no other versions of ADVGRID.DCU are in your library path. Note that the binary version of TAdvStringGrid cannot be used with Delphi or C++Builder trial versions.
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: When I run my application I get an error "property does not exist"
(Jan 21, 2009)
An older version of ADVGRID.DCU might be in your library path. When upgrading from an older version, make sure to first open all forms in your application that use the grid, ignore property errors on opening, save form files and then rebuild your application.
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: When try to install TAdvStringGrid, I get an error that TAdvStringGrid is compiled with a different version of PictureContainer
(Jan 21, 2009)
Most likely another TMS component has been installed that is also using the PictureContainer. Due to strict binary compatibility checks of Delphi & C++Builder, it is causing problems to install multiple binary distributed components that share a unit. For using the binary versions, the only workaround is to install the packages alternatingly for evaluation. Registered versions that come with full source do not have this problem.
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: When exporting to Excel file with the method grid.SaveToXLS() I get the error : "Excel OLE server not found"
(Jan 21, 2009)
The method grid.SaveToXLS() uses OLE automation to export to Excel file and thus requires Excel to be installed on the machine. To avoid this requirement, you can use the component TAdvGridExcelIO to export to Excel.
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: Users of older operating systems have an error message on application startup related to a missing gdiplus.dll
(Jan 21, 2009)
Either redistribute the Microsoft GDIPLUS.DLL (explained in README.TXT) or remove the gdiplus.dll dependency by commenting the line {$DEFINE TMSGDIPLUS} in TMSDEFS.INC
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: I am having problems with grid.SortByColumn, it is slow or behaves incorrect
(Jan 21, 2009)
SortByColumn is a deprecated method, use grid.QSort instead with settings as defined under grid.SortSettings
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: Can I load a gallery file programmatically at runtime ?
(Jan 21, 2009)
Yes, call grid.LoadVisualProps(GalleryFileName);
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: I try to set VAlignment to vtaCenter or vtaBottom but this is not working
(Jan 21, 2009)
By default, wordwrap is enabled in the grid and it is a limitation of the Microsoft text drawing API's that wordwrapped text is always top aligned. To use the VAlignment capability, set WordWrap = false
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: I have added a button on the grid with AddButton but the OnButtonClick event is not triggered ?
(Jan 21, 2009)
If you add a button to a non editable cell (or grid without editing enabled) the button is treated as disabled by default. To override this behaviour, set grid.ControlLook.NoDisabledButtonLook = true
Bruno Fierens (Jan 21, 2009)


TAdvStringGrid: I get an exception 'invalid column' during export to Excel
(Jan 21, 2009)
The maximum number of columns supported in Excel itself is 255. As such, it is not possible to export more columns than the Excel limit.
Bruno Fierens (Jan 21, 2009)