Setting HTML Attributes in netCobol
Setting HTML Attributes in netCobol
(OP)
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
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
RE: Setting HTML Attributes in netCobol
(where ws-false pic 1 usage bit value B"0") you should also be able to use intellisense for the textbox property.
RE: Setting HTML Attributes in netCobol
Thanks again.
RE: Setting HTML Attributes in netCobol
I see the property BackColor so I have defined the PROP-BACKCOLOR but what do i set it to?
Thanks.
RE: Setting HTML Attributes in netCobol
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
RE: Setting HTML Attributes in netCobol