Rich Edit Object - Inserting a picture?
I have 2 questions, and any help is appreciated:
1. Microsoft word, allows you to insert an image. I can see the image in mmf2 in the rich edit object. Is there a way in multimedia fusion to insert images into the rich edit object?
2. Using the date and time object, I am trying to convert in text, the date & time from the system computer. Using an edit object, here is the code I am using:
Str$(month of( "date only" ))+"/"+Str$(day of month of( "date only" ))+"/"+Str$(year of( "date only" ))+" - "+Str$(hours of( "Time" ))+":"+Str$(minutes of( "Time" ))
It works fine, but it does not recognize am or pm, so for now, I switched the format to military time. How can I display it to recognize pm from am? Also, if the time is let's say 3:00, I receive: 3:0
Thanks!
-Mike
Re: Rich Edit Object - Inserting a picture?
I believe it will handle bit mapped images. Use WordPad, OpenOffice, Microsoft Word, ... to create a template RTF document with the picture included. Then load it using the object actions. Once loaded you can add text or resize the images.
Re: Rich Edit Object - Inserting a picture?
How about adding another edit object. In the current one you have military time. So then add code to rewrite the correct date and time to the other edit object for display. In other words use the current edit object as a work area and set it to hidden on start.
Also you may want to check out the Timestamp object. Read in the system time and convert to a time stamp. Then you have several functions for getting out months, day, year, hour, minutes, seconds as well as being able to add, subtract and other
functions. Then write what you want to display to the edit object.
Just some ideas.
Re: Rich Edit Object - Inserting a picture?
Hey Droberson, the idea worked like a charm, I added that additional edit object, yeah just downloaded the the timestamp object, I like that object. Thanks! Yeah I create a template, I was trying to figure out if you could do it right through MMF2, maybe I will suggest a feature for that object to import images.
Re: Rich Edit Object - Inserting a picture?
Glad to be of help. MMF is a great product. I like your idea of the importing images or being able to cut and paste at design or runtime.