StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Setting textboxes to read only
Setting textboxes to read only
Post Reply
Like
0
Setting textboxes to read only
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StarkMike
StarkMike
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 436,
Visits: 944
I have a maintenance form and textboxes bound to the BO. However I want some of these text boxes bound but readonly. How do I do that?
Reply
Like
0
Steve L. Taylor
Steve L. Taylor
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 40,
Visits: 91
Hey Mike,
Set the control's read-only state = true
Set the control's IgnoreManageReadOnlyState = true (under StrataFrame Settings)
This should give you the desired results.
Steve
Reply
Like
0
StarkMike
StarkMike
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
I'm sorry I should have mentioned that the textbox in question is one of those DevExpress inherited controls. I didnt see a readonly property on them.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
You can do this several ways. One thing you can do is set their TextEdit from Standard (or Default) to Disabled. This will prevent the end-user from editing the control. You can find this inder their "Properties" property
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search