realbasic-nug.de
[Top] [All Lists]

Styledtext als Unicode sichern

To: REALbasic NUG German <realbasic-nug dot de at lists dot realsoftware dot com>
Subject: Styledtext als Unicode sichern
From: Stefan Sicurella <sicurella at onlymac dot de>
Date: Thu, 10 Aug 2006 11:53:59 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot de at lists dot realsoftware dot com
Hallo,

wie sichere ich denn ein stylededitfield als Unicode? ich dachte RB macht das sowieso, jetzt stellt sich heraus, dass er in macroman sichert

code:
  dim f as folderitem
  dim o as textoutputstream

  if Document = nil or DisplaySaveDialog then
    f=GetSaveFolderItem("text",FileName)
    if f <> nil then
      Title=f.Name
      Document=f
    end if
  end if
  if Document <> nil then
    Document.SaveStyledEditField Txt
    TextHasChanged=False
  end if



Gruß

Stefan

<Prev in Thread] Current Thread [Next in Thread>
  • Styledtext als Unicode sichern, Stefan Sicurella <=