NetTalk Central

Author Topic: Changing Close Button text on Browse not working  (Read 2678 times)

sukhendu

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Changing Close Button text on Browse not working
« on: April 19, 2012, 01:28:19 PM »
Under GenerateBrowse routine (priority 4000, first available embed point) the following code does not work.

p_web.site.CloseButton.TextValue = 'New Close Name'

However,

p_web.site.ViewButton.TextValue = 'New View Name'

works.  Any help is appreciated.
Thanks,
Sukhendu
NT 6.26, c8

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Changing Close Button text on Browse not working
« Reply #1 on: April 19, 2012, 09:47:34 PM »
try;
p_web.site.BrowseCloseButton.TextValue = 'New Close Name'

CloseButton is for the close button on Forms.

cheers
Bruce

sukhendu

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Re: Changing Close Button text on Browse not working
« Reply #2 on: April 20, 2012, 06:54:40 AM »
That worked.  Thanks Bruce.

-Sukhendu