Delphi Conduit Library Help

Introduction

Main Index

General Info

TpfgPalmComponent

TpfgHotSyncActionDialog

TpfgPalmRemoteTable

TpfgPalmLocalTable

TpfgUserManager

TpfgPalmSyncComponent

TpfgPalmInstall

FAQ

  

Properties

ActionEnabled[] [rt]
ActionIndex
BtnAboutCaption
BtnDataCaption
ConduitName
SetAsDefault [r/o]

Methods

DoBtnAboutCLick
DoBtnDataClick
Execute

Events

OnBtnAboutClick
OnBtnDataClick

TpfgHotSyncActionDialog

This component provides a replacement for the default Hot Sync Action dialog provided. Using this component, a user can independantly enable/disable individual sync options, and then obtain a synchronization method that can be specified as permanent or temporary.

Properties

ActionEnabled[] [rt]
This array of Booleans property can be accessed at runtime to disable or enable individual entries in the list. The index must be in the range 0 through 3, where 0 is top most item.

ActionIndex
This specifies the specified item in the list of synchronization types. Can be set to specify the default selected item, and read after the dialog has been executed to obtain which item was selected.

BtnAboutCaption
This property allows you to set the caption displayed for the About button, if you wish. Note that the button is not displayed if an OnBtnAboutClick event is not provided.

BtnDataCaption
This property allows you to set the caption displayed for the Data settings button. Note that the button is not displayed if an OnBtnDataClick event is not provided.

ConduitName
Can be used to specify the name of the conduit that appears in the heading on the dialog window. If none is specified, then the dialog gets the conduit name from a present TpfgPalmComponent component.

SetAsDefault [r/o]
Read only property that can be checked after the dialog has been executed to determine whether the "Set As Default" checkbox was ticked.

Methods

procedure DoBtnAboutClick;
Calls an attached OnBtnAboutClick method, if one exists.

procedure DoBtnDataClick;
Calls an attached OnBtnDataClick method, if one exists.

function Execute: Boolean;
Shows the Hot Sync Action Dialog, using the current component settings, and does not return until the dialog is closed. It returns true if the user closed the dialog by clicking on the Ok button.

Events

OnBtnAboutClick
This event is called when the Data settings button is clicked. Note that this button is only displayed if an event handler is provided.

OnBtnDataClick
This event is called when the About button is clicked. Note that this is only displayed if an event handler is provided.