Home » Developer & Programmer » Forms » how can i get first item in tab page
|
Re: how can i get first item in tab page [message #675531 is a reply to message #675530] |
Wed, 03 April 2019 11:21  |
cookiemonster
Messages: 13966 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Only way I can see to do that is to go to the first item in the block, check it's item_tab_page property using get_item_property.
If it's not the tab page you're interested in then do a loop like this:
LOOP
EXIT WHEN get_item_property(:system.cursor_item, nextitem) IS NULL;
NEXT_ITEM;
IF get_item_property(:system.cursor_item, item_tab_page) = 'TAB YOURE LOOKING FOR';
l_first_item_in_tab := :system.cursor_item;
EXIT;
END IF;
END LOOP;
|
|
|
Goto Forum:
Current Time: Tue Apr 01 03:42:29 CDT 2025
|