Subject Re: [IBO] IB_Grid / button
Author Cagatay Tengiz
If you want to use the button of the Tib_Edit which you have placed onto
grid then do these :

Tib_Edit.AlwaysShowButton := True

and edit your grids editlinks property as

YOURCOLUMNNAME=YOUR_TIB_EDIT_NAME

and define your event handler on your grid's onEditButtonClick.

If you have multiple TIB_Edits on your grid then I think you can distungiush
which edit's button was pressed by using below code (only a assumption, not
tried yet)
if (sender is TIB_Edit) then begin
if (sender as TIB_Edit).Name = YOUR_TIB_EDIT_NAME

This how I do, if there is a better way I'd like to know. Hope this helps..

Cagatay Tengiz

----- Original Message -----
From: Nico Callewaert
To: IBObjects@yahoogroups.com
Sent: Friday, October 25, 2002 10:36 AM
Subject: [IBO] IB_Grid / button


Hi,

I've forgotten how to do this : I want in the first column of the
grid a button. I dropped a TIB_Edit on the grid, I've set the datasource /
datafield properties, but nothing appears in the grid when adding a new
record.

Thanks in advance, Nico

[Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com