CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Dynamically Changing the Submit Button

Print topic Send  topic

Author Message
Benultra

Posts: 17
Posted: 02/04/2004, 3:49 PM

Anyone go away of changing the Buttons on a form Dynamically i.e. Add | Submit | Delete. Thisis to provide multi-language support in my application.

Ben:-/
View profile  Send private message
DonB
Posted: 02/04/2004, 4:30 PM

Same problem as the Sorter. You have to set up a template-substitution
either by coding direct interaction with the Template object (via template
variables) or putting labels in to replace the static "value" attributes (so
you can set their Value properties at run time).

--
DonB

http://www.gotodon.com/ccbth


"Benultra" <Benultra@forum.codecharge> wrote in message
news:64021850c3168c@news.codecharge.com...
> Anyone go away of changing the Buttons on a form Dynamically i.e. Add |
Submit | Delete. Thisis to provide multi-language support in my application.
>
> Ben:-/
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

peterr


Posts: 5971
Posted: 02/04/2004, 4:55 PM

Not sure, but Labels may not work in this case.
I also went ahead and tested the Template object -based solution with "InputMask" example in CCS Example Pack. I changed the "Add" button caption to "{submit_button}", then in Before Show event of the form used this code:
Tpl.Block("Record users").Block("Button Button_Insert").Variable("submit_button") = "MyCaption"

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.