Delphi/CB
•  Greatis •  Security •  AppDatabase •  Utilities •  Visual Basic • .NET •  just4fun
Delphi / C++ Builder
Components, utilities and tips for Delphi and C++ Builder developers
More info
Object Inspector FAQ
Object Inspector Home
Delphi Components
See also
Products
Form Designer
Runtime Fusion
Print Suite
Commented Image
Image Editor  new!
Delphi Toys
Ultimate Pack  hot!

FAQs
Form Designer FAQ
Print Suite FAQ
Image Editor FAQ

Links
Software for .NET
Software for VB 6
Delphi Tips & Tricks

Follow us
LinkedIn Blogspot Twitter Facebook

Share this page
Adding the button into edit line
The button in edited line of TCommonInspector component can be displayed by OnGetButtonType event. By default the passed Value is btNone, but this can be set to btDropDown or btDialog. The code below places the dialog-type button into 3rd item of the inspector:
procedure TForm1.CommonInspector1GetButtonType(Sender: TObject;
  TheIndex: Integer; var Value: TButtonType);
begin
  if TheIndex=2 then Value:=btDialog;
end;

Greatis Software Greatis | Security | AppDatabase | Utilities | Delphi/CB | Visual Basic | .NET | just4fun

Contacts | Add to Favorites | Recommend to a Friend | Privacy Policy | Copyright © 1998-2011 Greatis Software