How to create a text element with stack fraction?

Status
Not open for further replies.

foo

Usenet Archive
Joined
Sep 9, 2001
Messages
144
Reaction score
0
Hi, Everyone

I'm first using English working units in my new programming task. Before this, I always in Metric mode. Now, I want place a text 2 1/2 in stack fraction format using MDL function 'mdlText_create', but the result are in plain. I try to change the Tcb variable tcb->cntrl1.stackfract to 0, the result is in plain also. What wrong for me?

Any help are appreciated!

Foo.
 
Foo,

Use mdlText_compressString(...) on the text string before you create the text element.

Dan

On 9 Jan 2002 17:53:46 -0800, (foo) wrote:

Hi, Everyone

I'm first using English working units in my new programming task. Before this, I always in Metric mode. Now, I want place a text 2 1/2 in stack fraction format using MDL function 'mdlText_create', but the result are in plain. I try to change the Tcb variable tcb->cntrl1.stackfract to 0, the result is in plain also. What wrong for me?

Any help are appreciated!

Foo.
 
Foo,

One other thing I forgot to mention. The conversionType arg should be FRACTIONS (plural) not FRACTION as shown in the docs.

Docs

On Fri, 11 Jan 2002 13:29:21 GMT, dan.42@shaw{dot}ca (Dan MacNeil) wrote:

Foo,

Use mdlText_compressString(...) on the text string before you create the text element.

Dan

On 9 Jan 2002 17:53:46 -0800, (foo) wrote:

>Hi, Everyone
>
...
 
Status
Not open for further replies.

Latest threads

Back
Top