Sign in Join
FPDoc Onlineexperiment

THelpViewer class

In unit LazHelpIntf

Base class for help viewers used in the LCL help system.

Declaration

pascal
THelpViewer = class(TComponent)

Inheritance

  1. THelpViewer
  2. TComponent
  3. TPersistent
  4. TObject

Descends from it: THTMLBrowserHelpViewer

Description

THelpViewer is a TComponent descendant that provides the interface used for help viewers in the LCL help system. THelpViewer provides properties and methods used to access and display help topics using their corresponding help nodes, including a Table of Contents. Most methods are declared as virtual and should be overridden in descendent class that handle specific MIME types.

Methods are provided to register and unregister the help viewer for a specific MIME type. The AutoRegister property controls whether the viewer is automatically registered at run-time.

Use classes like TCHMHelpViewer, THTMLHelpViewer, THTMLBrowserHelpViewer, and THelpConnector for help databases that use the specific MIME types for the respective classes.

See also

Properties

SupportedMimeTypespublicContains MIME types supported in the help viewer.
ParameterHelppublicContains a help message describing how parameters are used in the help viewer.
StorageNamepublicIndicates the storage used for configuration settings in the help viewer.
AutoRegisterpublicIndicates if the help viewer is automatically registered at run-time.

Methods

SetSupportedMimeTypesprotectedSets the value in the SupportedMimeTypes property.
AddSupportedMimeTypeprotectedAdds the specified MIME type to the SupportedMimeTypes property.
CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
SupportsTableOfContentspublicIndicates if the help viewer can display a table of contents for the specified help node.
ShowTableOfContentspublicDisplays the table of contents for the specified help node.
SupportsMimeTypepublicIndicates if the specified MIME type exists in the SupportedMimeTypes property.
ShowNodepublicDisplays the help topic for the specified help node.
HidepublicHides the help viewer.
AssignpublicAssigns property values from the specified source to the current class instance.
LoadpublicLoads configuration settings for the help viewer from the specified storage.
SavepublicSaves configuration settings to the specified storage.
GetLocalizedNamepublicGets the localized name for the help viewer.
RegisterSelfpublicRegisters the help viewer for use in the LCL help system.
UnregisterSelfpublicUnregisters the help viewer in the LCL help system.

Inherited

From TComponent (74)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (4)

AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.