ken bohnenkamp
26th July 2005, 20:40
I have 4 fields on a form. If a user enters a value for the first field, I want to shade the other three fields and disallow the user to enter data in these 3 fields. Anyone have an idea how to do this.
steveauckly
26th July 2005, 21:33
The first Method I gave you on the last thread will do this:
http://www.baanboard.com/baanboard/showthread.php?t=24677
ken bohnenkamp
26th July 2005, 21:45
attr.input does work. The user can't enter data, but the field doesnt shade
out. Am I missing something? :(
mark_h
26th July 2005, 22:06
This is the closest I know of - follow the link (http://www.baanboard.com/baanboard/showthread.php?t=16381&highlight=color+field). You can do more searches on color and shading. I do not think in Baan 4 you can grey an input field out. But with this link maybe you can do something else.
SanttuP
29th July 2005, 11:02
inputfield.invisible
NAME
inputfield.invisible, inputfield.visible, is.field.invisible - functions making fields visible and invisible
SYNOPSIS
void INPUTFIELD.INVISIBLE ( ... )
void INPUTFIELD.VISIBLE ( ... )
long IS.FIELD.INVISIBLE ( string field_name(18) )
DESCRIPTION
void INPUTFIELD.INVISIBLE( ... ) This function makes certain fields entirely invisible, because even if the attribute attr.echo is switched off, input fields are still visible because of their shadowing effect in a graphical user interface. This function can be called everywhere in the program.
Example:
before.field:
inputfield.invisible( "ttadv200.cpac", "ttadv200.crel" )
void INPUTFIELD.VISIBLE( ... ) This function is used to make a field visible again, after a INPUTFIELD.INVISIBLE call.
Example:
before.field:
inputfield.visible( "ttadv200.cpac" )