about ADMPRG

2 views
Skip to first unread message

Gianni

unread,
Dec 3, 2007, 8:18:07 AM12/3/07
to BRIZ
Hi all,
i have a lillte problem:
i am testing ADMPRG "gp_term.lib" and "gp_term.test" :
program "FUNPRG" run very well , but "TEST.PRINTPREVIEW" not display
nothin.

can You help me?

Thank

Gianni

GVP

unread,
Dec 3, 2007, 8:34:18 AM12/3/07
to BRIZ
Hi Gianni,

BRIZ v2.5 have a BUG in printPreview (collapsed window in safe size
mode). It will be fixed in next version (very soon).

What kind of examples You are interesting?

Please, play with PE, SPE, GLIST, GISTAT, GASTAT,
CGUIDEMO ..EXAMPLE_COM ... TEST.ODC* ...

Adm.prg have user/application manager.

Please, feel free for ask about features, tricks, ... throug Group or
e-mail.


Regards,
Grigory

GVP

unread,
Dec 3, 2007, 8:42:23 AM12/3/07
to BRIZ
Test.PrintPreview is very old example (older then 6 years). It uses
screen object LINE that is not supported in version 2.5, because
latest version based at GDI+.

Test.PrintPreview works fine with BRIZ v1.9

I'll prepare new example for BRIZ v2.5


Regards,
Grigory

Gianni

unread,
Dec 3, 2007, 9:58:39 AM12/3/07
to BRIZ
Hi Grigory,
thank you for fast answer
i am testing GUI interface for D3 and OPENQM
i am also interesting for produce a preview of report in graphic mode,
and i wait you for your example of "Preview Report"
Regards,
Gianni

Gianni

unread,
Dec 3, 2007, 9:59:27 AM12/3/07
to BRIZ

GVP

unread,
Dec 3, 2007, 10:26:47 AM12/3/07
to BRIZ
Hi Gianni,

The fastest way is using of Windows components from Pick-Basic for
reporting, such as MS-Office, Fast-Report, Cristal-Report .....
(through PB or COM or ActiveX or ATL/DLL API)

OwnerDrawScreen printing is more complex, but independent from third
part applications.


Regards,
Grigory

GVP

unread,
Dec 12, 2007, 6:30:02 AM12/12/07
to BRIZ
Hi Gianni,

Please, excuse me for waiting. We have found unexpected problems in
hidden screen printing. Problems solved.

Please, download latest version.
I have placed a simple example of print preview as file of this
group.

http://groups.google.ru/group/BRIZ/web/TEST.PRINTPREVIEW


Please, feel free for ask about features, tricks, ... through Group
or my e-mail.


Regards,
Grigory

GVP

unread,
Dec 12, 2007, 7:28:19 AM12/12/07
to BRIZ
One of the easiest way for printing is-

1 Create hidden screen nCols X nRows (not only 80 or 120. It can be
any that supported by D3 (5-512) )
2 Execute TERM nCols nRows
3 Execute LIST or SORT
4 CRT one page of result onto Screen
5 Print screen
6 Goto 3 or 4, or 7
7 Delete hidden screen

You can add Watermark or any other graphics (image, for example) by
foreground and background Owner-Draw layers.

GVP

unread,
Dec 14, 2007, 11:31:16 AM12/14/07
to BRIZ
Hi Gianni,

Are You have played with Word and Excel ActiveX-es? It is very useful
and easy. You can add such functionality into the old style code
without modification of the whole project.


Regards,
Grigory
Reply all
Reply to author
Forward
0 new messages