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
FastReport object COLOR property
- 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
- Attachments
-
- Downloads.zip
- (9.03 KiB) Downloaded 800 times
Re: FastReport object COLOR property
hm ... your Syntax is wrongunixkd wrote:Code: Select all
oFR:SetProperty("myObject", 'Color', [b]$00FFAF00[/b])
so it must beCode: Select all
:setProperty( <cName> | <nID>, <xValue> [, <xParam, ...>] ) --> xValue
Code: Select all
oFR:SetProperty( 'Color', $00FFAF00)
Code: Select all
c:\ALASKA\XPPW32\BIN\Tlb2Ch.exe {CLSID} >> MyFR.CH
http://www.gevitas.de/wiki/index.php?ti ... Konstanten
greetings by OHR
Jimmy
Jimmy
Re: FastReport object COLOR property
Hi Jimmy
oFR:SetProperty( 'Color', $00FFAF00) gives compilation syntax error
Thanks
oFR:SetProperty( 'Color', $00FFAF00) gives compilation syntax error
Thanks
Re: FastReport object COLOR property
Shouldn't that be 0x00FFAF00...unixkd wrote:Hi Jimmy
oFR:SetProperty( 'Color', $00FFAF00) gives compilation syntax error
Thanks
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com
Real Business Applications Ltd
http://www.rbauk.com