Support Board
Date/Time: Mon, 16 Jun 2025 00:13:07 +0000
Post From: sc.SetCustomStudyControlBarButtonText vs newline char
[2025-05-21 17:08:38] |
User275839 - Posts: 70 |
I am using sc.SetCustomStudyControlBarButtonText to set the name of a custom study button. The string I am setting comes from an sc.Input[].GetString() function. I would like to have the button title be on 2 lines. However, setting a string containing a \n newline character just shows the \n in the button title and doesn't break the title into 2 lines. However, using the control bar editing dialog = Customize Control Bar > Control Bar Button Properties > Caption to set a string containing a \n character does honor the \n and breaks the button title into 2 lines. Is there a way via ACSIL functions to set a button title that formats using \n to break the title into 2 lines? |