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
|
|
|
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 |
|
|
|