View Issue Details

IDProjectCategoryView StatusLast Update
0001310JEDI VCL04 Feature Requestpublic2004-03-09 02:47
ReporteranonymousAssigned Touser72 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001310: Localization of TjvDbGrid's column selector
DescriptionIt will be nice if column selector dialog labels and messages can be localized via Grid's properties.
In my previous applications I bring this functionality and its is nice to see that such feature is included in the component itself.
TagsNo tags attached.

Activities

user72

2004-01-29 10:04

  ~0002866

If you have a suggestion of implementation, please post it here so we can have a look.

If deemed useful, this will probably not be done before JVCL3 beta.

user72

2004-01-30 19:43

  ~0002897

You can use the resourcestrings defined JvDBGridSelectColumnForm, i.e:

RES_JvDBGridSelectTitle = 'Select columns';
RES_JvDBGridSelectWarning = 'At least one column must be visible!';
RES_JvDBGridSelectOK = '&OK';

anonymous

2004-01-31 15:01

viewer   ~0002901

Hi Peter3.
I think it could be another persistent class such:

TJvDBGridSelectColumnOptions = class(TPersistent)
private
  ...
published
  FormCaption...
  OkBtnCaption...
  NoVisibleColumnCaption...
end;

and add an instance of this to the JvDBGrid. After the JvDBGridSelectColumnForm is created just assign the values from the grid to the controls on the grid.

regards.

user72

2004-02-01 00:25

  ~0002913

OK, I'll think about it

user72

2004-02-01 01:03

  ~0002914

I've added a SelectColumnsDialogStrings property to TJvDBGrid with the relevant strings although I have some concerns whether localization tools will be able to modify the values easily. Time will tell, I guess.

Issue History

Date Modified Username Field Change
2004-01-29 03:33 anonymous New Issue
2004-01-29 10:04 user72 Note Added: 0002866
2004-01-29 10:04 user72 Status new => acknowledged
2004-01-30 19:43 user72 Note Added: 0002897
2004-01-31 15:01 anonymous Note Added: 0002901
2004-02-01 00:25 user72 Note Added: 0002913
2004-02-01 01:03 user72 Status acknowledged => resolved
2004-02-01 01:03 user72 Resolution open => fixed
2004-02-01 01:03 user72 Assigned To => user72
2004-02-01 01:03 user72 Note Added: 0002914
2004-03-09 02:47 user72 Status resolved => closed