Click or drag to resize
ProfileOptionsExtension Methods

The ProfileOptionsExtension type exposes the following members.

Methods
  NameDescription
Public methodCreateControl
Provide the control for your options page. This is called in lazy-load manner, when the user selects this profile options extension from the tree.
Public methodCreateSettingsControl
Create and return window handle for custom options page. Default implementation handles control lifetime and inheritant may just enjoy from CreateControl.
Public methodDispose
Called when the settings page is closed. Disposes the control if not disposed already. Inheriants can ignore this if also CreateSettingsControl is left in default implementation.
Public methodGetParent
Return parent CTExtension of this options extension.
Public methodGetSaveData
Public methodLoadData
Called after CreateControl. Setup the control you created with this stored data.
Public methodPageName
Name that is shown in profile options tree. By default this is parents FriendlyName.
Public methodReadProfileData
Helper function to read parent extension's data from given profile.
Public methodRefresh
Notification that occurs when user re-enters to this extension's options page.
Public methodSave
Called when user clicks OK at export profile settings and all pages have returned true on Validate. Inheriants can ignore this and just return data at GetSaveData(Boolean) when called.
Public methodStoreProfileData
Helper function to store parent extension's data to given profile.
Public methodTabPress
Called when TAB is pressed. Handles control focusing.
Public methodValidate
Validate settings use has mede to your control. Show error message if needed.
Top
See Also