Home » Developer & Programmer » Forms » how to make text item as non navigable (forms 10g)
how to make text item as non navigable [message #404192] Wed, 20 May 2009 13:21 Go to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
i want to make a text item field non navigable.
i should not be able to click in that field.

i made 'keyboard navigation' property as 'No' even though iam able to click on that field and also iam able to go into that field when i press the tab key.

made update allowed property to 'NO'
insert allowed to 'NO'

even though iam able to navigate in that field.

thanks
jillu
Re: how to make text item as non navigable [message #404205 is a reply to message #404192] Wed, 20 May 2009 16:11 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
So make it "Display" item instead.
Re: how to make text item as non navigable [message #404695 is a reply to message #404205] Fri, 22 May 2009 18:13 Go to previous messageGo to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
i made enabled property to 'NO' and
made item as 'Display item'. then iam getting below error

FRM-41058: No such Property for Get_Item_Property.

then i made enabled =yes and made item as display item. even though iam getting the same error.

why am i not able to make it non navigable??

i shouldnt be able to tab in that item.

thanks
jillu
Re: how to make text item as non navigable [message #404775 is a reply to message #404695] Sat, 23 May 2009 10:32 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
"Display items" are not navigable by definition.

Therefore, once you set Item Type property to "Display Item", there's nothing else to do.
Re: how to make text item as non navigable [message #404803 is a reply to message #404775] Sun, 24 May 2009 02:04 Go to previous messageGo to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
yes i did what you told. but iam getting this error as i said

FRM-41058: No such Property for Get_Item_Property.

what might be the problem?? how to rectify??

thanks jillu
Re: how to make text item as non navigable [message #404804 is a reply to message #404803] Sun, 24 May 2009 02:34 Go to previous messageGo to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
Paste the code, whatever you have written for the field using Get_Item_Property.

By
Vamsi
Re: how to make text item as non navigable [message #404824 is a reply to message #404804] Sun, 24 May 2009 14:16 Go to previous messageGo to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
i didnot find any code for those items.


Re: how to make text item as non navigable [message #405603 is a reply to message #404824] Thu, 28 May 2009 09:58 Go to previous messageGo to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
vamsi,

these fields are not being used in get_item_property.

are there any properties that i have to disable to make these fields display items??

Re: how to make text item as non navigable [message #405614 is a reply to message #404192] Thu, 28 May 2009 11:16 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
If you change an items type to Display Item in the property palette then it's a Display item. there's nothing else to do.

If this causes you to then get "FRM-41058: No such Property for Get_Item_Property." errors then that means there is some code somewhere in your form or an attached library that is doing an illegal get_item_property on that item (probably checking a property that exists for text items but not display items). Oracle doesn't make these errors up.

You need to find that code and work out what it is doing and why.
Re: how to make text item as non navigable [message #405636 is a reply to message #405614] Thu, 28 May 2009 13:17 Go to previous messageGo to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
i found out the code.below is code

GET_ITEM_PROPERTY(l_item_id, INSERT_ALLOWED) = 'TRUE'
GET_ITEM_PROPERTY(l_item_id, UPDATE_ALLOWED) = 'TRUE'
GET_ITEM_PROPERTY(l_item_id, ENABLED) = 'TRUE'


but it is in PLL. i cant change PLL.
if i make item property,
ENABLED as 'NO' and insert,update allowed as 'NO',

then will that help me?? will that allow me not to navigate??

is there any other way where i dont use 'display item' and use other properties to make it non navigable?
Re: how to make text item as non navigable [message #405743 is a reply to message #404192] Fri, 29 May 2009 05:14 Go to previous message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
if you set enabled to FALSE then insert_allowed, update_allowed and navigable will get set to FALSE automatically.

But if you've got a pll that stops you from using display items you've got a major design flaw.

EDIT: missing word

[Updated on: Fri, 29 May 2009 05:17]

Report message to a moderator

Previous Topic: pls explain me how to use form_ddl
Next Topic: email with checkboxes
Goto Forum:
  


Current Time: Fri Sep 20 12:53:45 CDT 2024