Re: How do you SET a form field's property programmatically?

From: Richard Hollingsworth <william.hollingsworth_at_hsv.boeing.com>
Date: 2000/06/19
Message-ID: <394E8838.8A4CA984_at_hsv.boeing.com>#1/1


Nevermind. Found it also.

Thanks,
RH

Richard Hollingsworth wrote:
>
> Hi.
>
> Forms 5.0, Oracle 8.0.5., Windows NT 4.0.
>
> I have a field on a Form. I want to set it's 'Enabled' property. I set
> it to 'No' in forms builder, now I want to set to 'Yes' so the field
> will be enabled for use.
>
> I tried...in a WHEN_NEW_FORM_INSTANCE trigger
>
> DECLARE
> item_id ITEM;
> BEGIN
> item_id := FIND_ITEM(:block_name.field_name);
> set_item_property(item_id, ENABLED, PROPERTY_TRUE);
> END;
>
> I've tried several versions of this and wither get a compile error, or a
> run_time error.
>
> How do you GET then SET a form field's ENABLED property?
>
> Thanks much,
>
> Richard Hollingsworth
  Received on Mon Jun 19 2000 - 00:00:00 CEST

Original text of this message