Jordi.Tolra
10th October 2008, 13:08
Hola a tothom,
we would like to put a button in on session but to be only shown if a concrete condition is valid.
Does anybody know is it is possible and how?
thanks
Best Regards
Jordi
george7a
10th October 2008, 13:18
Hi,
I am not sure it is possible with the 4GL in Baan4. you can add an option that says that "this button is disabled". I think it is possible in LN.
However, it is possible to add a 3GL button in BaanIV. You can then hide & show it when ever you want. You will have to read about this object here:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_user_interface_objects_dscdrawnbutton
I hope it helps,
- George
günther
10th October 2008, 16:54
One way could be to use two forms (one with button, one without); the forms should have all choices that allow the user to switch the form turned off. So you could use to.form(1) or to.form(2) in your program to turn the buttons on/off. But thats only a workaround.
Günther