RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPostButton Class

TPostButton generates an HTML control that posts changes to an XML delta packet.

Pascal
TPostButton = class(TDataSetButton);
C++
class TPostButton : public TDataSetButton;

Add TPostButton as the child of a TDataNavigator component (or a layout group that is a child of a TDataNavigator component) to enable the generated HTML form to commit the edits on the current record of an associated display control. The resulting HTML button's action posts all edits to the current record to the emerging delta packet, which can then be submitted using an apply updates button. 

Use the properties of TPostButton to customize the appearance of the button and associate it with a Web item that generates the display control. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!