Entry Point: CT390BUT - Adding buttons
Versions: | Microsiga Protheus 8.11, Microsiga Protheus 10 |
Compatible Countries: | All |
Operating Systems: | All |
Compatible with the following Databases: | All |
Languages: | Spanish, English |
Description:
The CT390BUT entry point is used to add buttons to the Budget viewing screen.
Event
Use the entry point to add buttons to the budget screen. This event is called when building the budget browser.
Source Program
CTBA390.PRW
Syntax
CT390BUT - Adding buttons ( [ aRotina ] ) --> aCT390BUT
Parameters:
Name | Type | Description | Default | Mandatory | Reference | ||||||||||||
aRotina | Array of Record | Array with the buttons added by the routine |
Return
aCT390BUT (array_of_record)
Array with the information of the buttons added by the entry point
Examples
// defines the entry point for the inclusion of buttons
USER FUNCTION CT390BUT( aButton )
Local aRet:= {}
aAdd(aRet,{ "ENTRY POINT" , "Process( { || U_PONTO() })", 0, 0} )
RETURN aRet// defines the function that will be called by the created button
USER FUNCTION PONTO()MsgAlert( "BUTTON EXECUTED" )Return