NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on October 07, 2015, 01:14:20 AM
-
Hi
I have a memory form with 2 browses on it. I want to change the Insert button text value to 'Add Estimate'
I use p_web.site.InsertButton.TextValue = 'Add Estimate'
It change now the Insert to Add Estimate, BUT it changes now the insert on both Browse and not on the one browse where I added the code.
How can I change only the one Browse button values and not both of them. The browse without the p_web.site.InsertButton.TextValue = 'Add Estimate' must not change.
Regards
Johan
-
Hi Johan
Where did you put the code?
I would suggest in the browse that you want the Insert button name to change in the
GenerateUpdateButtonsAbove or GenerateUpdateButtonsBelow Routine (depending where you locate your update buttons) after the Start
-
Hi Terry
Thank you for your help. The code is in the GenerateUpdateButtonsBelow Start Routine. It still change both the browses Insert Names. Any other suggestions please.
Tanks Johan
-
Hi Johan
I duplicated your problem in the Web21 example in the Update customers form.
It doesn't seem to affect any other browses just the browses on the form.
I would suggest putting the code p_web.site.InsertButton.TextValue = 'Insert' in the other browse until Bruce can advise any other options.
This seems to work in the example
-
Tanks I follow your suggestion and it is working now.
Regards
Johan
-
Set it to whatever you like in the browse, right before it's used.
Set it back to Insert when it's done being used in that browse.
cheers
Bruce