Imrankhan
Active Member
Hi,
In a button clicked event, Disable Control function is not working.
Event flow is below.
Button Clicked Event:
Disable Control (FC Control)
//
Variable = 1000000
while variable is greater than zero
variable = variable -1
FC Control 1 = variable
end while
//
Enable Control (FC Control)
When control goes to while loop, Form Control should be disabled. But it is not disabling the control. If i remove the enable control event, then it is Disabling the control only after executing the while loop.
Inside while loop i have assigned a form control variable, but the variable is assigned only 0 when button clicked event is executed.
Is there anything I am missing? Kindly help.
Thanks
Imran
JDE 9.1
In a button clicked event, Disable Control function is not working.
Event flow is below.
Button Clicked Event:
Disable Control (FC Control)
//
Variable = 1000000
while variable is greater than zero
variable = variable -1
FC Control 1 = variable
end while
//
Enable Control (FC Control)
When control goes to while loop, Form Control should be disabled. But it is not disabling the control. If i remove the enable control event, then it is Disabling the control only after executing the while loop.
Inside while loop i have assigned a form control variable, but the variable is assigned only 0 when button clicked event is executed.
Is there anything I am missing? Kindly help.
Thanks
Imran
JDE 9.1
Last edited: