soumya093
11th September 2014, 09:25
Hi all,
How to use the function "function boolean form.command.is.allowed ()" and is there any commands to disable form commands.
sachinbaan
11th September 2014, 10:08
hi,
You can use disable.commands("")
bhushanchanda
11th September 2014, 10:55
Hi,
Its a part of Standard UI Template. You need to use:-
#include<bic_4gl2> in your program script.
|Standard Command Example
function extern boolean mark.delete.is.allowed()
{
if no.delete.condition then
return(false)
endif
return(true)
}
|Form Command example
function extern boolean my.command.name.is.allowed()
{
if disable.command.condition then
return(false)
endif
return(true)
}
|Field example:
function extern boolean ppmm999.ffff.is.readonly()
{
if readonly.condition then
return(true)
endif
return(false)
}
soumya093
11th September 2014, 13:38
Thank you Sachin and Bhushan
Regards
Soumya