Home » Developer & Programmer » Forms » Show a tab Page
Show a tab Page [message #277143] Mon, 29 October 2007 01:59 Go to next message
kuwait
Messages: 52
Registered: October 2007
Member
Hi,

I have a canvas that have four tab pages, I want tab page 3 to be visible or focused on after an if condition in a button trigger is satisfied, Please how can I do it?

This is a portion of the code for when button pressed trigger:
elsif (:tnc.id=2 or :tnc.id=3) and :tnc.duedate is null then
      alert_button := Show_Alert('ALED');
      Set_Item_Instance_Property('tnc.duedate',CURRENT_RECORD,VISUAL_ATTRIBUTE,'attention');  
      --focus on tab page3?? 
      IF alert_button = ALERT_BUTTON1 THEN
	 null;      	
      end if;


In words, I'm implementing db system where a text field is compulsory to be fill in if some condition is satisfied.
This text field is on tab page3, so I want to get the user attention for this text field, so I did change the visual attribute, but also I want to show tab page3 how to do that?

Thanks

[Updated on: Mon, 29 October 2007 05:41]

Report message to a moderator

Re: Show a tab Page [message #277391 is a reply to message #277143] Mon, 29 October 2007 22:05 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Do a 'go_item' to that item.

David
icon14.gif  Re: Show a tab Page [message #277487 is a reply to message #277143] Tue, 30 October 2007 05:51 Go to previous message
kuwait
Messages: 52
Registered: October 2007
Member
Thanks alot

It works Smile
Previous Topic: Difference between a Forms message and Forms Error
Next Topic: Query Problem at pre-insert
Goto Forum:
  


Current Time: Fri Dec 09 15:23:36 CST 2016

Total time taken to generate the page: 0.24853 seconds