Hi,
I'm using CAPI version on Android device.
I define a function wich I add to a userbar
Is it possible to disable that function for some items ?
In short, I would like to not allow the investigator to use the function when filling some items...
Thanks !
is it possible to disable a function ?
-
- Posts: 573
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: is it possible to disable a function ?
Dear Dzidefo
Please use;
onfocus
userbar(hide);
Preproc
userbar(show);
Best.
a.
Please use;
onfocus
userbar(hide);
Preproc
userbar(show);
Best.
a.
Re: is it possible to disable a function ?
I thank you, @khurshid.arshad , for your proposition.
I would like to notice that i have others functions on the userbars, so if I hide it, the investsgator can't get access to others functions.
What could help me, if possible, is to disable the target functions for some items.
Specifically , i would like to enable the target function only for the first Item of each form, and disable it all the rest of Items.
Thanks.
I would like to notice that i have others functions on the userbars, so if I hide it, the investsgator can't get access to others functions.
What could help me, if possible, is to disable the target functions for some items.
Specifically , i would like to enable the target function only for the first Item of each form, and disable it all the rest of Items.
Thanks.
Re: is it possible to disable a function ?
From the online help on userbar:
http://www.csprousers.org/help/CSPro/us ... ction.htmlRemoving Items from the Userbar
b = userbar(remove,resource-identifier);
The remove command takes the item pointed to by the resource identifier off the userbar. The function returns 1 if successful, 0 otherwise.
Re: is it possible to disable a function ?
Thanks Josh.