Normal Topic Grayed out element by  Readonly () command (Read 556 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Grayed out element by  Readonly () command
Mar 17th, 2011 at 5:38am
Print Post Print Post  
I have made certain elements Readonly conditionally by programming as depending upon the user. They become grayed out when made ReadOnly. Is there any command, may be Attribute ( ) command,  to make the grayed out Element (because of executed Readonly () command) make it clear and still remains readonly element?

There is a choice if you choose element to be ReadOnly in Control Panel to be "ReadOnly Not Grayed Out" but that would be ReadOnly for all users.
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Grayed out element by  Readonly () command
Reply #1 - Mar 17th, 2011 at 1:12pm
Print Post Print Post  
Hello Bharat,

ReadOnly(ElementName, 2) is the same as the Read Only Not Grayed out option in Sesame Designer. Give that a try and your programming and let me know if it works for you.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Grayed out element by  Readonly () command
Reply #2 - Mar 17th, 2011 at 2:03pm
Print Post Print Post  
Thanks Ray. It works fine. Sorry for not checking the manual properly before posting. It is clearly mentioned in there.
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Grayed out element by  Readonly () command
Reply #3 - Mar 17th, 2011 at 6:50pm
Print Post Print Post  
Hello Bharat,

No need to apologize. It's nice to start the day off with an easy question.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged