View active Canvas

Dicas do Oracle Forms Builder - Blocos, Itens, LOV, Canvas, Triggers, comandos, PLL, d2kwutil, FMB, Alert, menus, etc
  

Poston Fri, 20 Nov 2015 9:43 am

Hello guys I need to check what canvas this active.
I have a main screen that opens another window.

I need to address when he clicks the delete button on the toolbar and you're in the second door he will do an update null only in the second window.
All this because the first and the second window are in the same block and table. So if you are in the second and press the delete it removes the entire row, which I don't want it to happen.

You understand:?:
bessa_lucas

Lucas Bessa
Analista de Sistemas

lucas.bessa@obers.com.br
lucas.bessa.ti@gmail.com

Poston Tue, 15 Dec 2015 11:30 am

Hi bessa_lucas To know the canvas this active, you can use the command:
Code: Select all
Get_Item_Property( :system.cursor_item, ITEM_CANVAS );
this command search the canvas that is located the item with focus at the moment.
Marina

Poston Wed, 27 Apr 2016 10:55 am

Marina, thanks for the help. And to view the active block?
bessa_lucas

Lucas Bessa
Analista de Sistemas

lucas.bessa@obers.com.br
lucas.bessa.ti@gmail.com

Poston Thu, 28 Apr 2016 7:03 am

Lucas, the Marina has already given the way of the stones. Open the help of forms and search for " system ", I'm sure you will find how to get the active/current/current block.

[] s
tiago_pimenta
Location: Barretos / SP



Return to Forms

Who is online

Users browsing this forum: Bing [Bot] and 4 guests