I put up an example mfa file. This is what a queston might look like - pretty crude, but hopefully this gives the idea. The actual question would fit on part of the screen, with the tools for making it off to one side.
Steve




I put up an example mfa file. This is what a queston might look like - pretty crude, but hopefully this gives the idea. The actual question would fit on part of the screen, with the tools for making it off to one side.
Steve




I can get pretty far with making, editing, and moving the text, but I can't get any one object to do everything I want. The active system box lets me select by spreading values and change the text but not the font. The Rich Edit Object won't let me spread values, so I can't select it. The string object won't let me change the font. Is there another object that does all of these these things?
Steve

I don't have access to MMF2 right now since I'm away from home, but I'll try to take a look when I get a chance. Are you trying to change the font at run-time?


what I do is have an Edit Box off screen...
Font Button clicked=>
EditBox-Set Font Via Selector
Set String Font to (Font of EditBox)
that's the basic idea.


Here's a simple example that might help (or not) with what your trying to do. It's only for one question, but you could add the ability to add more questions easily.
hope it helps.




Yes, I am trying to change the font at run time for a number of text type objects.
STeve




aidmm,
I don't understand the Set String Font to (Font of EditBox)
Where did you find that?
Thanks,
Steve


The following assumes you're using a String object:
go to: Text=> Set Font Name
In the expression editor: Retrieve data from object
go to: EditBox=> Text=> Get Font Name
that should set your String Font to the same font as the Edit Box. Make sure that action is AFTER the font has been changed in the Edit Box.




aidmm,
Part of my confusion is that I started working on this with MMF 1.5 pro, then MMF 2.0 dev build 242, then build 243. The available options have been changing as I have worked on it.
I used the rich edit object since I could have the user input the font and size easily from the font pop up without going through another object (thanks for showing me how to do that) and that the user could jus click on the rich edit objects and type in the text without going through an edit or pop up box.
I never imagined that the screen capture object would capture what was behind the rich edit objects, not the rich edit objects themselves.
So, you have helped me a lot. I need to rewrite the app, replacing the rich edit objects with active system boxes.
Steve




OK, I've built an alpha application based on placing text using the active system box object. The main donwside with the active system object (versus the rich edit) is that I cannot change the text to left, centered, or right during runtime. I have yet to figure out how to change the text to and from bold, italic, and underlined. With the rich edit, everything was done from one font dialogue box.
I've attached a copy if anyone is interested.
Steve