On Sun, 21 Oct 2007 23:24:28 +0200 wile64 <[EMAIL PROTECTED]> wrote: > Hi, > > How indicate we ResourceString? > > I use variables for Prefix, Separator and Indent > > Prefix = 'RS'; > Separator = '_'; > Indent = ' '; // for indent List > > Example for ResourceString: > > RSForm1_Caption = 'Form1'; > RSForm1_Hint = 'Sample'; > RSMemo1_Hint:= 'tfdqa'; > RSMemo1_Lines.Strings0:= 'line 1'; > RSMemo1_Lines.Strings1:= 'line 2'; > RSRadioGroup1_Caption:= 'RadioGroup1'; > RSRadioGroup1_Items.Strings0:= '1'; > RSRadioGroup1_Items.Strings1:= '2'; > RSStringGrid1_Columns.Title.Caption0:= 'Column 1'; > RSStringGrid1_Columns.Title.Caption1:= 'Column 2'; > > Example for FormCreate: > > Form1.Caption:= RSForm1_Caption; > Label1.Hint:= RSLabel1_Hint; > Memo1.Hint:= RSMemo1_Hint; > Memo1.Lines.Strings[0]:= RSMemo1_Lines.Strings0; > Memo1.Lines.Strings[1]:= RSMemo1_Lines.Strings1; > RadioGroup1.Caption:= RSRadioGroup1_Caption; > RadioGroup1.Items.Strings[0]:= RSRadioGroup1_Items.Strings0; > RadioGroup1.Items.Strings[1]:= RSRadioGroup1_Items.Strings1; > StringGrid1.Columns[0].Title.Caption:= > RSStringGrid1_Columns.Title.Caption0 > StringGrid1.Columns[1].Title.Caption:= > RSStringGrid1_Columns.Title.Caption1 > > I will create a dialog for customizing ResourceString.
See http://wiki.lazarus.freepascal.org/IDE_Window:_Make_ResourceString Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
