Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Disabling Append Button in DataSetToolBar whilst in Append mode?
Tue, Dec 27 2016 12:43 PMPermanent Link

Trinione

How can the Append Button be disabled whilst the DataSetToolBar is in Append mode?

After selecting the Append button, the Save and Cancel buttons are enabled, however the Append button is also enabled. Setting DataSetToolBar1.Buttons.Append.Enabled := False; in the Append Button area of the DataSetToolbar1OnButtonClick event has no effect.

You can see the effect here, Append '+' button remains enabled even in Add mode.
http://www.elevatesoft.com:8081/databound/databound.html
Wed, Jan 4 2017 2:23 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< How can the Append Button be disabled whilst the DataSetToolBar is in Append mode? >>

You can't really do so.  The append and delete buttons are always enabled, even when in editing mode.  This is consistent with how the Delphi TDBNavigator control has always worked, hence the behavior.

Tim Young
Elevate Software
www.elevatesoft.com
Image