FastReport object COLOR property

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

FastReport object COLOR property

#1 Post by unixkd »

Hi ALL

Is there anybody out there that knows how to set a FASTREPORT object property like:

oFR:SetProperty("myObject", 'Color', $00FFAF00)

If I pass 0-255 as value, it works, anything else not working

It does not allow passing hexadecimal value too.

Thanks.

Joe

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: FastReport object COLOR property

#2 Post by Eugene Lutsenko »

Maybe it will help You?

In the system Eidos a lot of graphics:
http://lc.kubagro.ru/_AIDOS-X.txt
Attachments
Downloads.zip
(9.03 KiB) Downloaded 703 times

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: FastReport object COLOR property

#3 Post by Auge_Ohr »

unixkd wrote:

Code: Select all

oFR:SetProperty("myObject", 'Color',  [b]$00FFAF00[/b])
hm ... your Syntax is wrong

Code: Select all

:setProperty( <cName> | <nID>, <xValue> [, <xParam, ...>] ) --> xValue 
so it must be

Code: Select all

oFR:SetProperty( 'Color',  $00FFAF00)
p.s. try

Code: Select all

c:\ALASKA\XPPW32\BIN\Tlb2Ch.exe {CLSID} >> MyFR.CH
will give you Constante e.g Color of activeX
http://www.gevitas.de/wiki/index.php?ti ... Konstanten
greetings by OHR
Jimmy

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: FastReport object COLOR property

#4 Post by unixkd »

Hi Jimmy

oFR:SetProperty( 'Color', $00FFAF00) gives compilation syntax error

Thanks

reganc
Posts: 257
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: FastReport object COLOR property

#5 Post by reganc »

unixkd wrote:Hi Jimmy

oFR:SetProperty( 'Color', $00FFAF00) gives compilation syntax error

Thanks
Shouldn't that be 0x00FFAF00...
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

Post Reply