RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLoginFormAdapter Class

TCustomLoginFormAdapter is the base class for adapters that manage the fields and actions of a login form.

Pascal
TCustomLoginFormAdapter = class(TDefaultFieldsAdapter);
C++
class TCustomLoginFormAdapter : public TDefaultFieldsAdapter;

TCustomLoginFormAdapter introduces default fields and actions that support building a login form. The adapter fields include user name (UserName), password (Password), and next page (NextPage). The next page field lists the Web pages in the application. The properties of TCustomLoginFormAdapter reflect the values that are assigned to those fields. TCustomLoginFormAdapter implements a single default action for logging in. If the WebSnap application also contains an end user adapter such as TEndUserAdapter or TEndUserSessionAdapter, TLoginFormAdapter calls the end user adapter's LogIn method to log the user in. As an alternate approach, you can provide an OnLogin event handler. 

Do not create instances of TCustomLoginFormAdapter. It is intended only as a base class. Instead, use a TCustomLoginFormAdapter descendant such as TLoginFormAdapter

 

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