Disabling Buttons?

tompynation
tompynation Member Posts: 398
Hi,

is it possible to disable a button in the Form Onload function?

Or anywhere else?

Comments

  • Framus
    Framus Member Posts: 13
    in OnOpenForm write this
    CurrForm."your button".ENABLED := FALSE; or
    CurrForm."your button".ENABLED := 'logical expresion';
    or you can find it in C/AL symbol menu
    CurrForm -> Controls -> "your button" -> ENABLED (and other properties)
  • garak
    garak Member Posts: 3,263
    you button must have a name on property.
    please write [Solved] in subject, if your request is finished.

    Regards
    Do you make it right, it works too!