Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36993

Forum Post: SETUIControl and text on a customized screen

$
0
0
I'm trying to do a simple little script that checks a UDF created in the customer master file that indicates that a PO is required for this customer. All I want it to do is show or hide a text field on the screen depending on the value of the UDF. It's looking to me that SETUIControl will not work on an added text on a screen.   Only with a data field or button?   Is that correct? if (required = "Y") then  retval = oScript.SetUIControl("Fonted_Text_1","SHOW") else  retval = oScript.SetUIControl("Fonted_Text_1","HIDE") end if Also noting that if a button's properties are set to a default of HIDE,  then SetUIControl is ignored.   It must be set to not hidden for it to work.  Seems like a bug.

Viewing all articles
Browse latest Browse all 36993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>