How to move canvas items [message #180774] |
Wed, 05 July 2006 03:57 |
anna marie
Messages: 26 Registered: June 2006 Location: Philippines
|
Junior Member |
|
|
Hi all,
I want to move canvas item together with it's text box item but
I can't do it. "FRM-41045 Invalid ID" appear.
This code works for the block item:
SET_ITEM_PROPERTY ('BLOCK3.dataitem1',POSITION, 430, 144);
but this one doesn't.
SET_ITEM_PROPERTY ('CANVAS2.TEXT16', POSITION, 388, 146);
Please help.
|
|
|
|
|
|
Re: How to move canvas items [message #180790 is a reply to message #180774] |
Wed, 05 July 2006 04:59 |
anna marie
Messages: 26 Registered: June 2006 Location: Philippines
|
Junior Member |
|
|
Yes, but even if I am not going to move it,why NULL id returned.
Is the following code still wrong? I'm using old version 2.1
Declare
it_id Item;
Begin
it_id := Find_Item('BLOCK3.LABEL2');
IF Id_Null(it_id) THEN
message('Null ID returned');
ELSE
SET_ITEM_PROPERTY (it_id, ITEM_SIZE, 100, 44);
END IF;
End;
|
|
|
|
|
|
|