Defines the buttons, which are visible within the License Viewer. To invoke the License Viewer see ShowLicViewer or for EasyGo see SetRegisterSettings (LicViewerAllowed)
Name |
SetLicViewerButton |
||||||||||||
Purpose |
Disables or removes a button from the License Viewer. |
||||||||||||
Params |
|
||||||||||||
Returncode |
|
||||||||||||
Usage |
To customize the License Viewer as a real viewer without the ability to change something. Only some administrative users will get the License Viewer with activated buttons to change things. Note: You can’t disable or remove the Close – Button. |
||||||||||||
Sample |
iRes := lic.SetLicViewerButton(1 , 0); // do not show the activate button if iRes = 0 then iRes := lic.SetLicViewerButton(2 , 0); // do not show the enter key button if iRes = 0 then iRes := lic.SetLicViewerButton(3 , 0); // do not show the info button if iRes = 0 then iRes := lic.SetLicViewerButton(4 , 2); // show the options button if iRes = 0 then iRes := lic.SetLicViewerButton(5 , 2); // show the help button if iRes = 0 then iRes := lic.SetLicViewerButton(6 , 2); // show the Transfer/Adopt button
if iRes <> 0 then begin << an error occurred >> ... end else begin << Buttons successfully set, showing License Viewer>> lic.ShowLicViewer; ... |
||||||||||||
See also |
The help button is no longer available due to the fact that we do not distribute CHM files any longer.