Graying out a field thru custom.pll [message #170126] |
Tue, 02 May 2006 03:49 |
sultanmasood
Messages: 11 Registered: March 2006
|
Junior Member |
|
|
Hi,
Iam trying to gray out a field with custom.pll.
Tried
set_item_property('MTL_TRX_LINE.ACCOUNT',ENABLED,PROPERTY_FALSE);
but this will disable the field.We will not be able to select the data.
Tried
set_item_property'MTL_TRX_LINE.ACCOUNT',INSERT_ALLOWED,PROPERTY_FALSE);
set_item_property'MTL_TRX_LINE.ACCOUNT',UPDATE_ALLOWED,PROPERTY_FALSE);
but not responding..
Anything else is there..
|
|
|
|
|
Re: Graying out a field thru custom.pll [message #171166 is a reply to message #170283] |
Mon, 08 May 2006 16:27 |
Steve Corey
Messages: 336 Registered: February 2005 Location: RI
|
Senior Member |
|
|
You have to set the foreground color I believe. If you have access to the form, check out the property palette of a text item. I believe it is the group of properties before the prompt settings. You can also use the set_item_property syntax to set the color, IIRC.
HTH,
Steve
|
|
|