Visible when init form - Microsoft Dynamics 365 Vietnam

Microsoft Dynamics 365 Vietnam

Song Nghia - Microsoft Dynamics 365 Vietnam

Breaking

Monday, March 25, 2019

Visible when init form

[ExtensionOf(formStr(RetailSizeGroupTable))]
final class VtvRetailSizeGroupTableForm_Extension
{
 
    /// <summary>
    ///
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    [FormEventHandler(formStr(RetailSizeGroupTable), FormEventType::Initialized)]
    public static void RetailSizeGroupTable_OnInitialized(xFormRun sender, FormEventArgs e)
    {
        FormControl control = sender.design(0).controlName("AutoBarcodeNumberButton");
     
        control.visible(false);
    }

}

No comments:

Post a Comment