|
|
Re: Disable Button [message #627680 is a reply to message #627675] |
Fri, 14 November 2014 05:16 |
|
mughals_king
Messages: 392 Registered: January 2012 Location: pakistan
|
Senior Member |
|
|
Yes @cookiemonster is right just see the example code
---WHEN-VALIDATE-ITEM-----
IF :BLOCK3.USER_ID is null then
Set_item_property('BLOCK3.B1',enabled,property_FALSE);
Set_item_property('BLOCK3.B2',enabled,property_FALSE);
ELSE
Set_item_property('BLOCK3.B1',enabled,property_TRUE);
Set_item_property('BLOCK3.B2',enabled,property_TRUE);
end if;
--------------------Another Example----------
IF :BLOCK3.USER_ID is not null then
Set_item_property('BLOCK3.B1',enabled,property_true);
Set_item_property('BLOCK3.B2',enabled,property_true);
elsif
:BLOCK3.USER_ID is null and :BLOCK3.USER_NAME is null
then
Set_item_property('BLOCK3.B1',enabled,property_false);
Set_item_property('BLOCK3.B2',enabled,property_false);
end if;
-
Attachment: user_id.fmb
(Size: 48.00KB, Downloaded 1308 times)
[Updated on: Fri, 14 November 2014 05:23] Report message to a moderator
|
|
|
|
|
|