expression.ForegroundColor As ScreenColor
where expression is a variable that represents a HostField Object
Gets
the foreground color set for the specified terminal attribute.expression.ForegroundColor As ScreenColor
Dim host As HostField
Dim scrColor As ScreenColor
'Get the foreground color.
scrColor = host.ForegroundColor