• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2851
  • Last Modified:

Oracle - Visible at runtime

When I run my form I do not want to see my item text until I have clicked a button.

So I set the Item Text Visible property to No.
Then behind the button I have a trigger When-Button_Pressed which contains the following code:
SET_ITEM_PROPERTY('NO', visible, 'YES');

What am I doing wrong.

How do I specific which item I am on about?

M.
0
maryeb
Asked:
maryeb
  • 2
  • 2
1 Solution
 
Helena Markováprogrammer-analystCommented:
Correct syntax is:

SET_ITEM_PROPERTY(your_item, visible, PROPERTY_FALSE);

More you can see in the on-line help "SET_ITEM_PROPERTY" topic.
0
 
maryebAuthor Commented:
Thats great, thanks.

I also have a data block which has a scroll bar attached to it, when I run my form first I want this scroll bar invisible and then visible after I press a button.

SET_BLOCK_PROPERTY(myblockname, ?????, ????);

M.
0
 
Helena Markováprogrammer-analystCommented:
You cant't set scroll bar visible or invisible. But you can move it behind items in multi record data block:

Set_Block_Property(blk_name, BLOCKSCROLLBAR_POSITION, xpos, ypos);
0
 
jtriftsCommented:
Please do one of the following:
1) request for more information
2) provide more information
3) accept a comment as an answer
4) delete the question
5) contact community support and ask them to delete the question
0
 
maryebAuthor Commented:
Henka provided the solution.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now