NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on December 05, 2015, 05:11:21 PM
-
I need to change text for close button on one browse.
I know that p_web.site.CloseButton.TextValue is variable where I have to change value but I do not know right Embed point. I tried several Embeds but no luck.
Best regards,
Djole
-
Best place is probably in the Generate Form list of embeds, under the "Start" embed.
[edit] Apologies, didn't read your question through Djole! This advice is for a NetWebForm :).
-
Thank you Stu,
I found solution. I was wrong with p_web.site.CloseButton.TextValue instead of that I need p_web.site.BrowseCloseButton.TextValue.
I put my code into ! Start of "Before Close Button" and it works.
I notice something that one may call it bug or feature, whatever he likes.
There is several routines which have embed ! Start of "Before Close Button" and if you edit one all are updated in code. My opinion it is a but.
Best regards,
Djole
-
It's done that way on purpose. The close button itself can be generated in three different places depending on the context, so the code is automatically duplicated to all three places for you, so that you don't end up inadvertently making a mistake by missing one.
cheers
Bruce