vendredi 4 février 2011

How to activate/disactivate fields in a dialog from X++

You can use this method

public void dialogSelectCtrl()
{
;
    if (dialogSelectCustGroup.value())
    {
        dialogCustGroup.allowEdit(true);
    }
    else
    {
        dialogCustGroup.allowEdit(false);
    }
}

Happy Daxing!

Aucun commentaire:

Enregistrer un commentaire