Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Reporting tools (GRW, GRE)
>
Dynamic Font Size
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Dynamic Font Size (Read 16415 times)
Asnidzal M.
Posts: 28
Dynamic Font Size
«
on:
April 04, 2014, 12:06:52 pm »
Hi,
Is it possible to control font size in one 4rp, just using any OO build-in class for GRW(using coding in 4gl) ?
Alex G.
Posts: 155
Re: Dynamic Font Size
«
Reply #1 on:
April 04, 2014, 12:34:44 pm »
Hi,
>Is it possible to control font size in one 4rp, just using any OO build-in class for GRW(using coding in 4gl)
i am not sure that I correctly understand the question.
In case that you want to change the font size of a report based on the value of 4GL variable then this is straightforward since the "Font Size" property can be set by a RTL expression and populated from 4GL variables like any other property.
Example:
In the 4GL report we introduce and ship a "fontSize" variable as follows:
REPORT myreport(fontSize,..)
..
DEFINE fontSize INTEGER
FORMAT
ON EVERY ROW
PRINT fontSize, ...
END REPORT
In the report design on the page root we set the RTL expression "fontSize" for the property "Font Size".
Since "Font Size" is inherited, all object in the report that do not override the default value will use that value.
In addition to that you can have object further down the document tree use a derived "Font Size" value by specifying an expression like "110%" or "80%".
Regards,
Alex
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...