pm_comm_button

Returns the HTML formatted code used to represent a button HTML element on the HTML page.

Syntax

pm_comm_button ($name, $conhelp, $handler, $enabled, $tabindex)

Parameters

name

      A string value with the button name.

conhelp

      A string value with the context help index for this button. By default, this parameter holds an empty space.

handler

      A string value with the code of the onClick handler written in Javascript. By default, this parameter holds an empty space.

enabled

      A boolean value with the button status. Is set to true if the button is enabled, false otherwise. The default value is true.

tabindex

      A boolean value that is true if the button should have a tab index on the form, false otherwise. The default value is false.

Returns

A string value that holds the HTML formatted code of the button's representation on the HTML page.

Remarks

If a button name consists of more than one word, the relevant name parameter should look as a set of words glued with the '_' (underscore) character.

A valid conhelp parameter should go without the 'b_' prefix.

Include: pm.php.