Home » Developer & Programmer » Forms » getting and setting position of an item
getting and setting position of an item [message #160526] Mon, 27 February 2006 02:44 Go to next message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member

I want to get the position (x,y position) of a item and set that position to another item in a form.

Declare
x number;
Begin

x:=get_item_property('BLOCKA.BTN1','X POS');

In the above statement while running the form i am getting the PL/SQL numeric value error.


Anyone who know how to overcome this please reply.

Thanks and Regards,

Nirmal
Re: getting and setting position of an item [message #160561 is a reply to message #160526] Mon, 27 February 2006 05:03 Go to previous messageGo to next message
Atul P
Messages: 61
Registered: June 2003
Location: Mumbai-Jakarta
Member

hi Nirmal


Just use X_POS instead of X POS
Underscore is what u might have missed.

Rgds
Atul P
Re: getting and setting position of an item [message #160580 is a reply to message #160561] Mon, 27 February 2006 06:47 Go to previous message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
Hi,

Thanks for the answer. It is working.
thanks

Nirmal

[Updated on: Mon, 27 February 2006 07:23]

Report message to a moderator

Previous Topic: host name
Next Topic: functional keys
Goto Forum:
  


Current Time: Fri Sep 20 05:36:24 CDT 2024