Home » Developer & Programmer » Forms » Hide or show Graphics on canvas
Hide or show Graphics on canvas [message #204281] Sun, 19 November 2006 23:34 Go to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

Hi all,

I just want to know if is it possible to hide and show canvas' graphics. I have a rectangle in a canvas serves as border of my display item. When i set the item visibility to false, I also need to hide that border.
How could I do that?
Re: Hide or show Graphics on canvas [message #204285 is a reply to message #204281] Sun, 19 November 2006 23:46 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Forms does not address graphic elements, it only addresses items and their prompts. However, if you were to create an item that is wide but not very high and you gave it a black border it should look like a line. Give it a go and see what happens. Have you considered using a stacked canvas and when you don't want the items displayed 'hide' that canvas?

David
Re: Hide or show Graphics on canvas [message #204455 is a reply to message #204281] Mon, 20 November 2006 19:17 Go to previous messageGo to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

I did that but the new item is always on top. I don't know how to put that item as background. To solve this, I just make the old item as background and the new as my display item which serves as s status bar.
Re: Hide or show Graphics on canvas [message #204458 is a reply to message #204455] Mon, 20 November 2006 20:08 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You are correct, you can't hide the canvas which contains the item which currently has focus. Therefore, move the focus first.

Try creating a new control item (or even a non-database item on this record) which lives on the OTHER canvas. Go to that item and then hide the unwanted canvas.

David
Previous Topic: URGENT : MULTIPLE TAB PAGE !!
Next Topic: Update a date field using calendar
Goto Forum:
  


Current Time: Thu Dec 08 06:07:33 CST 2016

Total time taken to generate the page: 0.09591 seconds