[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Any One can help With ( GfxSetTextColor ) Please



PureBytes Links

Trading Reference Links

I'm not sure what is wrong with your code, but I have uploaded to the  
AFL library a program called "Continuous Contract Rollover".
The AFL has a nice function in it that lets you specify a Gfx text box  
with many options.  Take a look and you can perhaps see how to make  
what you want work --or just use my function in your program.

Best regards,
Dennis

On Jun 20, 2008, at 6:15 AM, Mohammed wrote:

> Hi,
>
> With the following Code I'm trying to change the Color inside the Box
> depending to the JJ status.But I got an error in the last line.
>
> jj = c > O;
> UpColor = colorgreen;
> DownColor = colorred;
>
> GfxSelectFont( "Georgia", 11, 700 );
> GfxSetBkMode( 1 );
> //GfxSetTextColor( colorWhite );
>
> GfxSetTextColor( IIf( jj , UpColor , DownColor ));
>
> Regards,
>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>


------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/