trichview.com

trichview.support




Re: unicode encoding


Return to index


Author

Message

Richard Caruana

Posted: 02/06/2005 11:53:21


Hello Sergey I hav had the following problems with buttonclick

code for button as follows:-


procedure TFrame2.Button4Click(Sender: TObject);

Table1.First;

while not table.Eof do

begin

  LoadRVFFromField(rv, table, 'french');

  // GetAllText() is defined in the unit RVGetTextW.

  // Do not use here the function with the same name

  // from RVGetText unit!

  SaveTextToField(RVEncodeWidestring(RVGetTextW.GetAllText(rv)),

    table, 'frenchUTF');

  table.Next;

end;


[Error] EditorFrame.pas(654): Unknown directive: 'Table1'

[Error] EditorFrame.pas(657): Undeclared identifier: 'LoadRVFFromField'

[Error] EditorFrame.pas(657): Undeclared identifier: 'table'

[Error] EditorFrame.pas(661): Undeclared identifier: 'SaveTextToField'

[Error] EditorFrame.pas(661): Undeclared identifier: 'RVEncodeWidestring'

[Error] EditorFrame.pas(661): Undeclared identifier: 'RVGetTextW'



[Error] EditorFrame.pas(683): Undeclared identifier: 'Stream'

[Error] EditorFrame.pas(686): Not enough actual parameters


the above is my code for ButtonClick


and some of the errors which appeared.


Also, should "rv" be TRichView or TCustomRichView ?


Any help is appreciated


Ricahrd





Powered by ABC Amber Outlook Express Converter