Re: Make items visible/Invisible in ENTER_QUERY mode

From: spademan o---[\)* <steve.eckersley_at_its.lancscc.gov.uk>
Date: Tue, 23 Jul 2002 12:01:18 +0100
Message-ID: <3d3d347b_at_news.yourcomms.net>


"Sheldon Wang" <sheldonwang_at_shaw.ca> wrote in message news:lH2%8.383$YR5.43132_at_news1.telusplanet.net...
> Thanks,
>
> Yes I am aware of restricted/unresctricted. To do this, actaully I have
> tried all related properties. But it still does not work.
>
> First I set the property in a when-button-pressed trigger,
>
> set_item_property('well.well_le', visible, property_false);
>
> Then I set the following properties in another when-button-pressed
trigger.
>
> set_item_property('well.well_le', visible, property_true);
> set_item_property('well.well_le', enabled, property_true);
> set_item_property('well.well_le', update_allowed, property_true);
> set_item_property('well.well_le', insert_allowed, property_true);
> set_item_property('well.well_le', query_allowed, property_true);
>
> Any ideas/suggestions? I think the problem is with the ENTER_QUERY mode.
>
> Thanks again.
>
> Sheldon
>

Have you tried executing this code in normal (not enter-query) mode? this should narrow down where the problem lies. BTW is the item 'well.well_le' a bog standard text item?

Steve E. Received on Tue Jul 23 2002 - 13:01:18 CEST

Original text of this message