Sure. Use the Hide Option When setting in the Inspector, Data tab:
As to the actual calculation, since you're interested in the current platform, take a look at Get(SystemVersion). You just build a Case statement that evaluates to "True" when you want the object to be hidden.
These are two different settings.
However, you can "hide" change colors to match background by using Conditional Formatting. Any "click through" is still captured and the object really is NOT hidden, just obscured.
when a field contains a value? Such as if the operating systems contains "iOS" or "Android"
When a field contains a value, yes.
When you are trying to identify iOS, in filemaker go you can use Get(SystemPlatform) = 3 to detect iOS. If this value =4, it is WebDirect.
When you are trying to identify Android for WebDirect, it's a bit trickier, you can use Get(SystemVersion) and it will return "other" for unknown devices since it doesn't return android as a value.
So if you nested it in something like:
Get(SystemPlatform) = 4 and PatternCount(Get(SystemVersion) ; "Other") > 0
It would be pretty close for identifying non OSX, Windows, iOS browsers, leaving android and possibly windows mobile.
It's not the System Platform FileMaker is running on it's basically when a field has the value 'iOS' or 'Android' in.
In that case, just pattern count that field. You can use this as either a hide/show condition, or as a match condition to apply conditional formatting.
matches an iOS value:
PatternCount( yourTable::yourField ; "iOS" ) > 0
matches an android value:
PatternCount( yourTable::yourField ; "android" ) > 0