CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Changing CCS defaults - how to?

Print topic Send  topic

Author Message
jeverhart99

Posts: 8
Posted: 03/03/2008, 7:09 AM

We have a couple of default behaviors we'd like to change. Wondering if it can be done:

1) Labels default to HTML instead of TEXT format

2) Submit button has "Save Changes" instead of "Submit" on label

3) When you select a database column, the CCS tag name defaults to that column (unless you have already entered a tag name in the property).

Is it possible to change these defaults? If so, how?

- Jeannine
View profile  Send private message
wkempees
Posted: 03/03/2008, 3:04 PM

> 1) Labels default to HTML instead of TEXT format
>
Ask support for the quick way to do this as it involves altering the default
templates.

> 2) Submit button has "Save Changes" instead of "Submit" on label
>
Open you project.
In the Project Explorer, click Resources, click Locales, click
English(Default)
Or in Project Settings, click Locales and Encoding, click the Translations
Button
Then change any of the default text connected to any of the resources.
CCS_Update is the Submit, be careful though it has multiple meanings
according to context.
After updating the language file, you can also in Project Settings, Styles
use the 'Buttons' Button to alter the button text and regenerate the buttons
per style.

> 3) When you select a database column, the CCS tag name defaults to that
> column
> (unless you have already entered a tag name in the property).
?? not quite clear to me.

Walter

gpdeering

Posts: 57
Posted: 03/04/2008, 6:09 AM

Okay, I feel really dumb now. You all will laugh at me for what I've been doing.

If I didn't like the text in the button, I would make a copy of one of them, and then use Paint Shop Pro to put the desired text in. :-D

One common operation that would involve a custom button was the use of a "Copy" function on the record form (edit mode), where the user would edit a record, then click "Copy" instead of "Submit". The app would insert a new record.

  
        <formname>Button_Insert.Visible=IsInsertMode AndAlso <formname>Operations.AllowInsert  
        <formname>Button_Copy.Visible=Not (IsInsertMode) AndAlso <formname>Operations.AllowInsert  
        <formname>Button_Update.Visible=Not (IsInsertMode) AndAlso <formname>Operations.AllowUpdate  
        <formname>Button_Delete.Visible=Not (IsInsertMode) AndAlso <formname>Operations.AllowDelete  

Is there a better way to do this?

But thanks, Walter, for the tips. Obviously, I still don't know the full potential of CCS.

--Glen
View profile  Send private message
datadoit
Posted: 03/04/2008, 8:29 AM

You could just swap to HTML view and change the button's value="Whatever".
wkempees


Posts: 1679
Posted: 03/04/2008, 12:03 PM

http://forums.codecharge.com/posts.php?post_id=94657
some more laughing matter for gpdeering.

BTW Datadoit, I used to just copy the submit button and place cursor in front of it, then paste it back, go to properties and change whatever I needed, Like action, name, image file[...] and so on.
But if things are planned ahead (who does) you could do it the way I describe in the link this post starts with.
Now if only thwe Copy would be implemented as a standard function like Insert UPdate and Delete catering for a CustomCopy, then thing would be absolutely complete.
(All Frameworks only talk about CRUD, so it is not that strange it is missing.)

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
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.

MS Access to Web

Convert MS Access to Web.
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.