Infolog class

This class provides several system level tasks

activateWindow
(xinfo) public final void activateWindow(int _window)

this method will bring a window to front, activate it and give the focus
 * _window
 * the handle (hWnd) of the window to activate, bring to front, get the focus


 * Example
 * Try the following example with and without the last line 'infolog.activateWindow'

See also Axapta_hWnd

breakpoint
(xinfo) public final container breakpoint([container _breakpoint])

this method will be used to get a list of all breakpoints and/or for set a list of breakpoints
 * _breakpoint
 * optional input container for setting the breakpoints


 * return
 * container-content
 * the first element contains a '1' (version-number of the container-structure)
 * for each breakpoint 3 additional elements
 * string:the treenode-path of the method containing the breakpoint
 * integer:the row-number of the breakpoint
 * boolean:is the breakpoint active ?


 * Example 1
 * take a look at the form SysBreakPoints [Shift F9]


 * Example 2
 * use the editor to set some breakpoints (doesn't matter where)

canShutDown
public boolean canShutDown(boolean _silent)

this method will be called by infolog.shutdown and answers the question: can the client shutdown ?


 * _silent
 * true the Shutdown-Question will not shown
 * false the Shutdown-Question will be asked


 * return
 * false the client can't shutdown, the user answered no at the shutdown-question
 * true the client can shutdown, the user answered yes at the shutdown-question

currentAOLayer
public final UtilEntryLevel currentAOLayer


 * return
 * enum UtilEntryLevel
 * the current Axapta Object Layer, set in the config

importElement
Imports contents of the given XPO file

shutDown
public final void shutDown(boolean _force)

Closes the axapta-client.


 * _force
 * false gives the user the chance to quit the shutdown,(asking the shutdown-question)
 * true  shuts down the client immediately

viewUpdate
void viewUpdate

Forces an update / refresh of the infolog-window Normally the infolog-window will be shown, whenever the client has time to do this.


 * Example
 * Job 1


 * Job 2