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

Re: styledText in RealSQLDatenbank

To: REALbasic NUG German <realbasic-nug dot de at lists dot realsoftware dot com>
Subject: Re: styledText in RealSQLDatenbank
From: Stefan Sicurella <sicurella at onlymac dot de>
Date: Wed, 17 Oct 2007 12:20:06 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot de at lists dot realsoftware dot com
References: <1i61i5g dot 4oi1kt154wm6cM%support at monkeybreadsoftware dot de> <CFBE3566-3C5D-48E6-8F32-6D30CBA3366B at onlymac dot de> <076d01c810a4$f6731fc0$0164a8c0 at LaptopTB>
Hallo Tobias ,

ja, damit geht es.

Bleibt nur noch ein Problem übrig.
editfield.StyledText.RTFData=person_text.RTFData

bringt mir den text als eine komplette Zeile ohne Formatierungen

Gruß
Stefan

Hi Stefan,

schon mal dran gedacht, dass StyledText eine Klasse ist? Erzeuge dir also
erst mal ein Objekt, bevor du damit arbeitest:

dim person_text as new styledtext
statt
dim person_text as styledtext

dann müsstest du auch mit
person_text.RTFData=r.IdxField(9).StringValue

auf dessen Attribute zugreifen können....

hth
Tobias


Stefan Sicurella <sicurella at onlymac dot de> wrote:
Also irgendwo habe ich den Wurm drin...

dim person_text as styledtext

person_text.RTFData=r.IdxField(9).StringValue

gibt ein NilObject... nur wieso?


Gruß

Stefan

Stefan Sicurella <sicurella at onlymac dot de> wrote:

Hi,
ich frage mich was jetzt sinnvoller ist wenn die App auch auf
Windows laufen soll.
Also RTF in ein String Feld oder StyledText in ein VarBinary?

Also die Textstile sind nur bedingt transportabel.
Dann besser RTF in ein varchar oder varbinary feld.

Gruß
Christian

--
Over 900 classes with 17000 functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v7.6.

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>




<Prev in Thread] Current Thread [Next in Thread>