Jump to content
Sign in to follow this  
vova _fox

Structuredtext

Recommended Posts

Hello all.

It really to change image color in structured text?

I'am trying this:

((finddisplay 800) displayctrl 103) ctrlSetStructuredText (parsetext "<t size='1' align='right'><img color='#ffffff00' image='galka.paa'/></t>");

image d'ont change color...

Another question:

How use command createdisplay?

I'am write:

waituntil

{

!isnull (finddisplay 46)

};

_display=finddisplay 46;

_display createDisplay "RscObserver"

but it do no effect...

p.s. sorry for my english

Share this post


Link to post
Share on other sites

Structured Text - colored images

I doubt the 'color' property of the 'image' tag is supported. Only the text allows color changes.

See parseText where Mondkalb & Spinor have listed their findings in the Notes section.

I would imagine you are limited to just using:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"<img image='galka.paa'/>";

createDisplay

It depends on what 'RscObserver' is. Is it a dialog or a resource?

If it's a dialog, you can use the command 'createDialog' instead.

If it's a resource, you might be better off using a command like

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> cutRsc ["RscObserver","plain", 1];

or

titleRsc ["RscObserver","plain", 1]; // depends on how the resource class title is declared

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×