no-modal preview

no-modal preview

Postby AntoninoP » Thu Nov 09, 2017 10:26 am

Hello,
A customer asked the possibility to work on main window during the preview, then I changed the preview to not modal setting lPrvModal on device to false.
The no-modal preview has 2 problems:
1) it shows under the main window
2) If I move it the one page preview become thin:
Image

can anybody help me? :)
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: no-modal preview

Postby Rick Lipkin » Thu Nov 09, 2017 1:34 pm

Antonio

You might try turning off the left side page preview thumbnails.. set this code at the top of your program and see if that helps..

Rick Lipkin

Code: Select all  Expand view

//turn off report thumbnails
TPreview():lListViewHide := .T.
 
User avatar
Rick Lipkin
 
Posts: 2606
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: no-modal preview

Postby AntoninoP » Fri Nov 10, 2017 8:16 am

After some analysis we decide to not use no-modal preview... :D
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: no-modal preview

Postby Otto » Fri Nov 10, 2017 10:47 am

If I move it the one page preview become thin:

Hello Antonino,

are you sure you use the same printer for preview in modal and no-modal mode.
This picture seems to me to be a preview of a receipt printer. Here you have a very large page height.

I never got preview working with receipt printer.
I always took the same way as you ( decide to not use preview).

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 5994
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 22 guests