canvas issue.... [message #175529] |
Fri, 02 June 2006 11:35 |
sikorsky05
Messages: 40 Registered: October 2005
|
Member |
|
|
I have a button on Canvas A that opens up canvas B.. But I noticed when canvas B opens canvas A becomes deactivated... is there anyway I can still have Canvas A active so I can copy and paste from canvas A into Canvas B ....
This is the code I am using for the button trigger...
Declare
LC$Clause Varchar2(5000);
x varchar2(20);
Begin
Select wrkuntcd into :global.a
from AV3M.SOURCE_PNWUC
where remoldpn = :TEMP1.INCOMING;
:TEMP1.WRKS := :global.a;
LC$Clause := ('where modelf = ''' ||:TEMP_RESIDUAL.modelf||''''||' and wrkuntcd = '''||:global.a||''''||' order by remoldpn asc ');
Set_Block_Property( 'SOURCE_PNWUC', DEFAULT_WHERE,LC$Clause);
set_window_property('WUC',X_POS,100);
set_window_property('WUC',Y_POS,50);
go_block('SOURCE_PNWUC');
:TEMP1.WRKS := :global.a;
execute_query;
|
|
|
Re: canvas issue.... [message #175728 is a reply to message #175529] |
Mon, 05 June 2006 02:55 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
I don't think you need the second ":TEMP1.WRKS := :global.a;".
Canvas A will be active when you navigate back to it from canvas B.
If you don't want it hidden, then resize them so they don't overlap.
David
|
|
|