visible property problem.
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: visible property problem.

  1. #1
    Join Date
    Jul 2002
    Posts
    24
    I want to hide a textbox when a user in a normal mode and show it in query mode.

    I wrote the following code into "when_new_block_instance" trigger.

    IF :System.Mode = 'NORMAL' THEN
    set_item_property('blk_name.item_name',visible,'no');
    ELSE
    set_item_property('blk_name.item_name',visible,'yes');

    END IF;

    Unfortunately, i can't get it to work...my code is not workin.

    Can someone help me please.

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    set_item_property('blk_name.item_name',visible,'no');

    should be
    set_item_property('blk_name.item_name',visible,property_false);


    set_item_property('blk_name.item_name',visible,'yes');

    should be
    set_item_property('blk_name.item_name',visible,property_true);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width