Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This is a very good site. Please keep it running. Thanks and wishing a great health and success for the site and its owners..."

Geography

Where in the world do Tek-Tips members come from?
robundrh2o (Programmer)
1 Sep 10 9:48
Hey all, I am hoping there is somebody that monitors this site and can assist with my problem. I am trying to build an asp.net web front end for our existing Cobol application using Visual Studio 2008 and fujitsu NetCobol.
I have been muddling through and learning as I go but there are a couple of things that keep messing me up. I have a radiobuttonlist that I use to determine the mode of the screen, I can read in the mode with no problem. What I want to do is set the Enabled property of the Textbox's to false if the Mode comes back as 'View'. I have tried a variety of things but I always end up the following compile error:

'An index-name, index data item, integer item, or positive integer must follow TO in the SET statement".

Any thoughts, ideas, references would be great.

Thanks
bawstl (Programmer)
3 Sep 10 8:00
What is the statement?  Set prop-enabled of textbox to ws-false
(where ws-false pic 1 usage bit value B"0") you should also be able to use intellisense for the textbox property.
robundrh2o (Programmer)
3 Sep 10 9:17
Thanks for the help. I was missing how to properly define the ws-false. This is going to help out a lot.

Thanks again.
robundrh2o (Programmer)
7 Sep 10 8:46
Okay 1 more question. How would I gray out the same line?

I see the property BackColor so I have defined the PROP-BACKCOLOR but what do i set it to?

Thanks.
bawstl (Programmer)
9 Sep 10 8:26
robundrh2o,

You probably need to use the system.drawing.color then set the backcolor to PROP-GRAY OF CLASS-COLOR (where class-color references system.drawing.color) or similar for the web.

hope this helps,
Bruce
robundrh2o (Programmer)
23 Sep 10 14:56
Thanks that did it.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close