couple of question re PrimalForms2011

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
This topic is 11 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
R1Johnny
Posts: 37
Last visit: Mon Dec 12, 2022 7:15 am

couple of question re PrimalForms2011

Post by R1Johnny »

Hey fellas.It's been a while. Hope you are all well.Couple of quick questions for you please....Within a multi line textbox... if you put default text in here how do you remove it from the display as soon as the user clicks on the box?I have a suggested input but want it to disappear as soon as the user clicks on the textbox to enter input.Second question..... Any chance to config the font to react JUST to the form name?Right now, if I modify the font it changes the font for the entire form. I'd like to specify the font mod to associate with JUST the form name?Thanks very much.Regards,John


R1Johnny2012-08-23 20:08:39
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

couple of question re PrimalForms2011

Post by davidc »

For the textbox you will want to use the TextBox's Enter event:$textbox1_Enter={ if($textbox1.Text -eq "(Default)") { $textbox1.Text = ""; }}When you set the Form's font it automatically adjusts the child controls. You can do a select all and alter the font of the child controls afterwards. Note: the window's text usually isn't affected by the font, since the rendering is determined by the system.For future reference, it is recommended to post scripting questions in the http://scriptinganswers.com forums. These are forums are reserved for product specific technical support. David
David
SAPIEN Technologies, Inc.
This topic is 11 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.