Home » Developer & Programmer » Forms » Show Another Canvas and Hide (Error) (Oracle 10g)
icon4.gif  Show Another Canvas and Hide (Error) [message #408137] Sun, 14 June 2009 12:32 Go to next message
mahran419
Messages: 4
Registered: March 2008
Location: egypt
Junior Member

I want to create button to show and hide two canvas and i write this code but do nothing where error and true code???????
declare
	dd  varchar2(255);
begin
	dd :=get_item_property('PUSH_BUTTON4',label);
	if dd = 'show'
		then
		show_view('canvas2');
		set_item_property('PUSH_BUTTON4',label,'hide');
	elsif
		dd ='hide' then
		hide_view('canvas2');
		set_item_property('PUSH_BUTTON4',label,'show');
	end if;
end;


[EDITED by LF: applied [code] tags]
  • Attachment: show_hide.fmb
    (Size: 52.00KB, Downloaded 177 times)

[Updated on: Mon, 15 June 2009 00:21] by Moderator

Report message to a moderator

Re: Show Another Canvas and Hide (Error) [message #408154 is a reply to message #408137] Sun, 14 June 2009 23:25 Go to previous message
ADNANTARIQ_85
Messages: 18
Registered: June 2009
Location: Faisalabad
Junior Member

Dear

you need to set navigation of any item for called canvas



M. Adnan Tariq
Previous Topic: resize image into Image Item
Next Topic: Cursor
Goto Forum:
  


Current Time: Fri Dec 09 17:41:07 CST 2016

Total time taken to generate the page: 0.32435 seconds