I have 3 radio button A ,B, C and I have 3 tab page in the canvas A, B,C.
My Requirement is if user select radio A and press Submit button then tab A Should get activated and my cursor got to tab A.
I have 3 radio button A ,B, C and I have 3 tab page in the canvas A, B,C.
My Requirement is if user select radio A and press Submit button then tab A Should get activated and my cursor got to tab A.
If it is enabled and visible then you can use the following commands:
or
If you don't need to go to a specific item then use the second command go_block.
here is the easiest way to do this
In the following code, I supposed that the radio button name is: RADIO_BTN and it's value is 'A'
open trigger when_button_pressed on submit button and write the following code.
IF :RADIO_BTN = 'A' THEN /*replace this with your radio_btn name and value */ GO_ITEM('A'); /*go to dummy item in tab A or to real item in tab A */ END IF;
To enable a tab page:
If the tab page was not visible you should make it visible first:
In order to navigate to that tab page, the easiest way to accomplish that is by going to a navigable item that is in that tab page:
First you have to set the tab page as top most using set_tab_page_property(top_most_tab_page,'tab_page_name'). after that use go_item('block_name.item_name');