Home » Developer & Programmer » Forms » Unable - disable? (merged)
Unable - disable? (merged) [message #138971] Mon, 26 September 2005 02:10 Go to next message
cuongtv
Messages: 34
Registered: August 2005
Location: Vi�t Nam
Member

I have a checkbox, when checkbox is checked I want to the block is unabled, how can I do?
  • Attachment: sh_002.jpg
    (Size: 16.59KB, Downloaded 608 times)

[Updated on: Mon, 26 September 2005 02:12]

Report message to a moderator

Re: How to unabled a block or Frame? [message #138977 is a reply to message #138971] Mon, 26 September 2005 02:38 Go to previous messageGo to next message
kiran
Messages: 503
Registered: July 2000
Senior Member
Just checked the documentation.

SET_BLOCK_PROPERTY built-in is not having any ENABLED property.
If my understanding is correct , You want to control the block based on the checkbox like either updateble and not updateable.

So you can use the propery UPDATE_ALLOWED and can control the user for the same.

--Kiran.
Re: How to unabled a block or Frame? [message #139029 is a reply to message #138971] Mon, 26 September 2005 06:00 Go to previous messageGo to next message
cuongtv
Messages: 34
Registered: August 2005
Location: Vi�t Nam
Member

Of course it hasn't ENABLED property. When I uncheck all items on block is UNABLE and when I check all items is ENABLED so when I search I don't have this condition on this block, but some items on my block don't have ENABLED property.
Re: How to unabled a block or Frame? [message #139212 is a reply to message #139029] Mon, 26 September 2005 18:31 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Also look at set_item_instance_property to disable a particular item in a particular record. (Old)Set_item_instance (New)Set_item_property affects ALL instances of an item.

David

Mod: Correctly command name.

[Updated on: Wed, 28 September 2005 18:44]

Report message to a moderator

Re: How to unabled a block or Frame? [message #139422 is a reply to message #139212] Tue, 27 September 2005 23:44 Go to previous messageGo to next message
cuongtv
Messages: 34
Registered: August 2005
Location: Vi�t Nam
Member

But I want to unable all item on my block. SET_ITEM_INSTANCE_PROPERTY set only an item.
Re: How to unabled a block or Frame? [message #139440 is a reply to message #139422] Wed, 28 September 2005 00:55 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry. I meant to sorry "Set_item_property affects ALL instances of an item."

By the way, I assume by "UNABLE", you mean "ENABLE" set to PROPERTY_FALSE.

David
Help me to unable ? [message #139494 is a reply to message #138971] Wed, 28 September 2005 05:28 Go to previous messageGo to next message
cuongtv
Messages: 34
Registered: August 2005
Location: Vi�t Nam
Member

"Number Record" is Dislay Item so it doesn't have ENABLE Property.
Block or Frame don't have ENABLE Property. When I uncheck "Search by data package" I want to unable all item on "Data Package" block so when press " Search" I only search by "Treasury" and " Treasury's Date Condition", in other way when I check "Search by data package" I will search three condition, I can do that?
  • Attachment: sh_007.jpg
    (Size: 32.09KB, Downloaded 630 times)

[Updated on: Wed, 28 September 2005 05:30]

Report message to a moderator

Re: Help me to unable ? [message #139625 is a reply to message #139494] Wed, 28 September 2005 19:00 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Okay, now we are getting somewhere. This last question is seriously clearer than your other posts. (By the way, I know English is a pain but in this context UNABLE should be DISABLE, okay? I'm not trying to be picky, but only trying to help. "A DISABLED person may be UNABLE to work." Adjective versus something else.)

Okay, what you want to do is change the 'set_item_property' property 'queryable' to 'property_false' for those that you do not want to search and 'property_true' for those on which you do want to be able to search.

Hope this helps.

David
Previous Topic: Built-in Alert in 6i
Next Topic: Forms login help
Goto Forum:
  


Current Time: Fri Sep 20 00:33:08 CDT 2024