Re: Forms 4.5 Disabled field problem

From: Neville Sweet <sweet.neville.nj_at_bhp.com.au>
Date: 1997/11/19
Message-ID: <01bcf4a8$c15cd1a0$38f11286_at_itwol-pc3963.itwol.bhp.com.au>#1/1


Mark,

Have you set the list item property 'Query Allowed' = True?

Mark Parssey <markpa_at_delm.tas.gov.au> wrote in article <01bcf47c$f6162620$ad0b6d93_at_l8ip173.delm.tas.gov.au>...
> My problem is that I am displaying an combo box list item when enter
 query
> mode nut it is not enabled.
>
> What i have is a key item in my table for which I want to display the
 text
> normally, but when you enter query mode I want to be able to select from
> all possible values.
>
> The key field is not updatable.
>
> What I did was have two fields, the first is the key item built as a list
> item combo box & the second is a simple text item.
>
> In normal mode the text item is displayed. It is populated by an
> POST_CHANGE of the first item. This is fine.
>
> But when you enter query mode I want to no longer display the text item,
> but instead display the list item. This works to the extent that the
 combo
> box is displayed but it is not enabled I can't get it to work as a drop
> down.
>
> I have used code similiar to below
> set_item_property(list item,DISPLAYED,PROPERTY_TRUE);
> set_item_property(list item,ENABLED,PROPERTY_TRUE);
> set_item_property(text item,ENABLED,PROPERTY_FALSE);
> set_item_property(text item,DISPLAYED,PROPERTY_FALSE);
>
> The two items have the same locations on the screen.
> Also the design properties of the list item never were disabled.
>
> When I execute the query i use the POST_QUERY to to the reverse and that
 is
> fine also.
>
> I thought this was a nice solution, but I am now in despair.
  Received on Wed Nov 19 1997 - 00:00:00 CET

Original text of this message