Forgive me, but as I understood it, you wanted to display a graphic in a
text field.
Not too surprisingly you appear to be getting only the text.
That said, I don't see a control that you should use instead. The only one
that looks like a possibility is the PDF Viewer but you would clearly need
to convert your file first.
If you compare the help for forms and reports for the RTF objects it is
significantly different.
Regards,
Alastair.
--------------------------------------------------
From: <[email protected]>
Sent: Friday, August 20, 2010 9:45 AM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - Re: Where is the image?
No, i think rtf is the correct variable field type and varbit is ok for
datatype. I have been looking through all propertys for different types of
variable field and varRTF is the only one that can load a file into.
varRTF fields can show images, formatted text and tables in REPORTS and
LABELS, not in FORMS.
The same RTF file I have made in Word can be loaded into a report, showing
colors and images. If it is loaded into a form, only formatted text is
seen.
Regards
Christian
Perhaps the clue is in the type of the variable field...?
Regards,
Alastair.
--------------------------------------------------
From: <[email protected]>
Sent: Thursday, August 19, 2010 6:20 PM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - Where is the image?
Hello, list!
I wrote a letter in word, formated it, had pictures in it,
and had it copied to a variable rich text field on a form.
So far I have a form with Variable Rich Text Field and I have a
BitButton
with the following code:
SET VAR varrtf VARBIT = ' '
SET VAR vcolor TEXT = 'blue'
CHOOSE vcolor FROM #LIST 'AQUA,BLACK,BLUE,CREAM,DARK GRAY,FUCHSIA'
PROPERTY variablerichedit1 color .vcolor
LAUNCH filename1.rtf||w
PROPERTY variablerichedit1 load_from_file 'FileName1.RTF'
RETURN
The var varrtf is the variable rich text field on the form into wich the
word file is loaded.
The rtf file from word copies nicely into the VRTF field but there is no
image seen. Is there a Property option I do not know of? In short how
can
I make the image visible in the form and in that Variable Rich Text
Field?
Regards
Christian Hjortmar
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.851 / Virus Database: 271.1.1/3081 - Release Date: 08/19/10
07:35:00
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.851 / Virus Database: 271.1.1/3083 - Release Date: 08/20/10
07:35:00