Home » Developer & Programmer » Forms » problem with GET_ITEM_PROPERTY (Forms10GR2)
problem with GET_ITEM_PROPERTY [message #555473] Thu, 24 May 2012 07:59 Go to next message
nareshvictory
Messages: 52
Registered: December 2011
Location: chennai
Member
hi,

i have the code like below to get the x position of an text item field.

M_ITEM_ID := FIND_ITEM(P_BLOCK_NAME ||'.'|| P_FIELD_NAME);

M_ITEM_X_POS := GET_ITEM_PROPERTY(M_ITEM_ID,X_POS) ;

but i am getting the below error.

"FRM - 41058 NO such property for GET_ITEM_PROPERTY."

Thanks&Regards,
Naresh
Re: problem with GET_ITEM_PROPERTY [message #555475 is a reply to message #555473] Thu, 24 May 2012 08:09 Go to previous messageGo to next message
nareshvictory
Messages: 52
Registered: December 2011
Location: chennai
Member
HI


In my form i have 3 radio buttons. if

GET_ITEM_PROPERTY(M_ITEM_ID,X_POS) ;

is it works for Radio Buttons.

Thanks&Regards
Naresh.

Re: problem with GET_ITEM_PROPERTY [message #555533 is a reply to message #555475] Thu, 24 May 2012 14:15 Go to previous messageGo to next message
Littlefoot
Messages: 21813
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As far as I can tell, X_POS is a valid property for the GET_ITEM_PROPERTY built-in. Are you sure that this statement raised the error? Did you try to run the form in debug mode?
Re: problem with GET_ITEM_PROPERTY [message #555542 is a reply to message #555533] Thu, 24 May 2012 23:45 Go to previous message
nareshvictory
Messages: 52
Registered: December 2011
Location: chennai
Member
HI

Good Morning,

I found the error,The error is raising only for radio button and i fixed it.

thanks for your reply Littlefoot.

Thanks&Regards

Naresh
Previous Topic: ORA-01031
Next Topic: Alpha Numeric Sequence Updating Problem.
Goto Forum:
  


Current Time: Fri Jul 05 21:37:42 CDT 2024