Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 08 OCT 1998 03:59:36PM BC wrote:

Hello, I have searched through the RTI site and the manuals and

still cannot get .gif's to display. In the Create Event of a non-bound form I am

ctrlname=@WINDOW:".PICTURE"

X=Get_Property(ctrlname, "BITMAP")

Path=Set_Property(ctrlname,"BITMAP", "..\rv\c39003.BMP")

This works fine except that all the pictures are really gif's. If I change

the above to .gif it doesn't work.

I know I must be doing something wrong. What??

Also, I need to display a file that is in rtf (rich text format) in a

preview? window. Any ideas?

Thanks


At 09 OCT 1998 03:32AM Oystein Reigem wrote:

BC,

RTF edit boxes have a very limited set of features, and I think they cannot display 8-bit characters!!!

If you're a Works member, go to the Works discussion and see recent postings by me, Blaise and Cameron. If you're not a member, I'll publish my findings here. But I thought I'd give RevSoft a chance to find out more first. Or I can mail you what I know right away.

If you can use RTF edit boxes despite their shortcomings, I'll be glad to help you get them to work.

- Oystein -

Øystein Reigem, Humanities Information Technologies, Allégt 27, N-5007 Bergen, Norway. Tel: +47 55 58 32 42. Fax: +47 55 58 94 70. E-mail: oystein.reigem@hit.uib.no. Home tel/fax: +47 56 14 06 11.


At 09 OCT 1998 03:58AM Oystein Reigem wrote:

BC,

I don't know what you're doing wrong, because here it works. (I use OI 3.61.)

I have a window with a bitmap control called "BITMAP". If I do the following script

OldVal=Set_Property( @Window : '.BITMAP', 'BITMAP', '..\..\arbeid\grieg.gif' )

from a button or the window CREATE handler the image is displayed.

I've tried PCX's too. Even JPG's work - even if the docs don't mention JPEG at all. (They are a little bit slow to display, though.)

So if your version of OI isn't too old look for that trivial error (wrong path/filename or something).

- Oystein -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/0e5daf50075c440a85256697006dd3e7.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1