AuthenticView.OnLoad

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーのレファレンス > Application API > Interfaces > AuthenticView > Events >

AuthenticView.OnLoad

Event: OnLoad ()

 

Description: OnLoad can be used e.g. to restrict some AuthenticView functionality, as shown in the example below:

 

function On_AuthenticLoad(  )

{

       // We are disabling all entry helpers in order to prevent user from manipulating XML tree

       AuthenticView.DisableElementEntryHelper();

       AuthenticView.DisableAttributeEntryHelper();

       

       // We are also disabling the markup buttons for the same purpose

       AuthenticView.SetToolbarButtonState( 'AuthenticMarkupSmall', authenticToolbarButtonDisabled );

       AuthenticView.SetToolbarButtonState( 'AuthenticMarkupLarge', authenticToolbarButtonDisabled );

       AuthenticView.SetToolbarButtonState( 'AuthenticMarkupMixed', authenticToolbarButtonDisabled );

}

 

In the example the status of the Markup Small, Markup Large, Markup Mixed toolbar buttons are manipulated with the help of button identifiers. See complete list.


(C) 2018 Altova GmbH