Otools
27th February 2004, 15:21
hi,
Does somebody know a fonction to disable labels in a form ?
Thank's
en@frrom
27th February 2004, 16:32
Do you mean making them invisual? As far as I know there isn't. But if you ask for a function, I assume you have the programs script for the relevant session. So what you can do, is instead of using a label, you use a form field on the form. In the program script you declare a string field, and assign the desired label text to it. Then you can easily control whether or not the label will be displayed on the form by just emptying the string in case you don't want it displayed.
Hope this helps.
Good luck!
En.
jruben021
27th February 2004, 16:46
Hi Otools...
you mean disable de form2, or form3, ... formn, with label of this forms appear in gray color and not click in them, until certain condition enabled the form??
if so.... ooppsss!! :D
Help us.........
Otools
27th February 2004, 16:58
Ok for form field. But i have 3 single-occ+main forms.
Then the form field (the label field) doesn't display. i don't know why ? If i try with single-occ whithout main, label field are displayed !!!
I think that an another solution is make invisible form. But is it possible ?
Thank's
Hitesh Shah
28th February 2004, 09:57
When u change the value of the label (ie formfield) write the display.fld(actual.occ,"fieldcode") statement. It should give the desired result.