Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invisible Fields

Status
Not open for further replies.

Vexaxix

Programmer
Sep 24, 2003
13
CA
The mainframe I connect to has a number of 'invisible' fields. Ones which contain data, but are not actually displayed.

When I screen.getstring the field, it captures the data, even though it is not visible.

How can I determine if the text is invisible? If it is, I don not want to capture it.

 
This is what I use right now, but I was hoping there might be a function I am unaware of that is less of a work-around.

Sub Invisible(the_row, the_col, the_length, the_string)

'Reads invisible fields properly

Set Invisible_Field = Screen.Select(the_row, the_col, the_row, the_length + the_col)
the_string = Screen.Selection
Set Invisible_Field = Nothing

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top