Home » Developer & Programmer » Forms » block text item
block text item [message #413136] Tue, 14 July 2009 09:45 Go to next message
maciego
Messages: 11
Registered: January 2009
Junior Member
Hi,
I need to block text item in tabular form. Text field has pre-text-item trigger which changes its color after click on it(by set_item_instance_property) and I need to make it not executable (this trigger).
I tried to block text item by setting on it insert_allowed, update_allowed, navigable properties to false. But this doesn't work.
I have another idea but propably it is not possible to made. Maybe there is a way to dynamically change text item to display item?

Thanks for any help
maciego
Re: block text item [message #413218 is a reply to message #413136] Tue, 14 July 2009 16:38 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:
But this doesn't work.
What does that mean? Any error? If so, which one?

Is it, perhaps, the fact that you can't disable current item? If so, first GO_ITEM somewhere else, and then modify text item properties.
Re: block text item [message #413284 is a reply to message #413218] Wed, 15 July 2009 02:06 Go to previous messageGo to next message
maciego
Messages: 11
Registered: January 2009
Junior Member
There is no error - I ment that it doesn't block the item.
I know that I can't change properties of current item.

I am testing new functionality where I will remeber item index and I will block it trigger in if-else statement.

Thanks for reply
Re: block text item [message #414220 is a reply to message #413284] Tue, 21 July 2009 01:23 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You can not change the characteristics of the current item. You have to make the changes before you get to it.

Davi
Previous Topic: Re: TNS No Such Protocol adaptor Ora- 12222
Next Topic: Clearing the Lines Block
Goto Forum:
  


Current Time: Mon Feb 10 04:29:35 CST 2025