Show a tab Page [message #277143] |
Mon, 29 October 2007 01:59  |
kuwait
Messages: 55 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
|
|
|
|
|