Reputation: 387
i am making calculator in oracle forms 11g
My requirement is when button press then focus on textitem
how to achieve this target?
Upvotes: 0
Views: 518
Reputation: 142958
By using the GO_ITEM
built-in, such as
GO_ITEM('your_block.text_item_name');
Upvotes: 1
Reputation: 2119
You should create a when-button-pressed
trigger on the button.
In the when-button-pressed trigger you can use the GO_ITEM built-in
to go to an item on of a specified block. After this action the focus will stay on the item specified:
GO_ITEM('blockname.itemname');
Upvotes: 2