NetTalk Central

Author Topic: Changing text on a 'Save' button  (Read 3136 times)

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Changing text on a 'Save' button
« on: July 25, 2014, 01:19:39 AM »
Hi

Is it still the case that to change the text of a standard button (say 'Save') that you have to add this sort of code into the source:  p_web.site.ChangeButton.TextValue = Update Car'  (if you want to do it just for one procedure)?

I know that you can change it globally in the Web Handler procedure but that's not much use.

The question is if this is still the method then where, in a Form, do you put this code?

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Vinnie

  • Full Member
  • ***
  • Posts: 182
    • View Profile
    • Email
Re: Changing text on a 'Save' button
« Reply #1 on: July 25, 2014, 01:31:48 AM »
Hi Keith

To change text on SAVE buton in a form.

p_web.site.SaveButton.TextValue = 'Login'
p_web.site.SaveButton.MobileText = 'Login'

Add this code to the GenerateForm ; Start

Cheers

Vince

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: Changing text on a 'Save' button
« Reply #2 on: July 25, 2014, 02:40:14 PM »
Thanks Vince, 100%.

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27