The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 GETN_READ_ONLY_COLOR
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

couturier

France
291 Posts

Posted - 03/03/2015 :  10:39:09 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2015 SR1
Operating System: win7

In a GETN_BOX, I'd like a GET_NUM to switch between GETN_READ_ONLY_EX(1) (editable) and GETN_READ_ONLY_EX(2) (readonly, blue color), depending on a GETN_CHECK for example.

I can use the tree.Enable property to switch between editable and readonly but couldn't find how to add the color.

Thanx for your help

couturier

France
291 Posts

Posted - 03/03/2015 :  10:42:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
OK, I just realized that tree.Enable property was not a boolean value but could also be 2.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000