Search found 96 matches: margins

Return to advanced search

Re: Creating table with Trichedit

... CHARSET 0,0,10; FONTSIZE 8 ; TWIPFACTOR 1440 oRTF:lTrimSpaces := .T. DEFINE PAGESETUP oRTF MARGINS 0.5,0.5, 0.3, 0.3 ; // ---, ---, сверху,---- ALIGN TOP ; PAGEWIDTH 8.5 ; PAGEHEIGHT 11 RETURN oRTF I did the test with just three rows of aTable ...
by Silvio.Falconi
Mon Jan 29, 2024 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1449

Re: Creating table with Trichedit

... CHARSET 0,0,10; FONTSIZE 8 ; TWIPFACTOR 1440 oRTF:lTrimSpaces := .T. DEFINE PAGESETUP oRTF MARGINS 0.5,0.5, 0.3, 0.3 ; // ---, ---, сверху,---- ALIGN TOP ; PAGEWIDTH 8.5 ; PAGEHEIGHT 11 RETURN oRTF
by MMK
Mon Jan 29, 2024 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1449

Re: DWM ( Desktop Windows Manager ) Sample Code

Dear Jimmy, As you are filling the struct members further on, then there is no need to initialize the struct in advance: MARGINS margins; margins.cxLeftWidth = hb_parnl( 2 ) ; margins.cxRightWidth = hb_parnl( 3 ) ; margins.cyTopHeight = hb_parnl( 4 ) ; margins.cyBottomHeight = hb_parnl( ...
by Antonio Linares
Sun Aug 28, 2022 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 907

Re: DWM ( Desktop Windows Manager ) Sample Code

Dear Jimmy, You have a little typo here: hr = DwmExtendFrameIntoClientArea( (HWND) hb_parnl( 1 ) , &margins) : latest must be ; instead of : remember that MARGIN is defined as: typedef struct _MARGINS {  int cxLeftWidth;  int cxRightWidth;  int cyTopHeight;  int cyBottomHeight;} ...
by Antonio Linares
Fri Aug 26, 2022 10:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 907

Re: DWM ( Desktop Windows Manager ) Sample Code

... HB_FUNC( DWMEXTENDFRAMEINTOCLIENTAREA ){  MARGINS margins = {-1};  HRESULT hr = TRUE ;  hr = DwmExtendFrameIntoClientArea( (HWND) hb_parnl( 1 ) , &margins) ...
by Jimmy
Fri Aug 26, 2022 8:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 907

Re: HTMLEditor

... I'm just not aware of them right now. Fivedit supports, for a long time, Html, JS, CSS and the languages most used by us. Preferences - Panels / Margins / Config -> "Automatic Lexer Select" Fivedit, apply the appropriate lexer when the file is opened. Fivedit execute HTML files directly ...
by cnavarro
Fri Sep 13, 2019 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HTMLEditor
Replies: 6
Views: 957

Re: class to make Report with tdatabase

I was not talking about the margins, I was talking about the fact that he first printed a page and a white page, then inserting the pages he printed part of the archive
by Silvio.Falconi
Thu Jun 06, 2019 6:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: class to make Report with tdatabase
Replies: 5
Views: 1219

Re: class to make Report with tdatabase

It looks like the top and bottom margins may be set too narrow.
by James Bott
Wed Jun 05, 2019 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: class to make Report with tdatabase
Replies: 5
Views: 1219

Re: Report Margins

... := oPrev:oDevice:nXOffset ::nPrnYOffset := oPrev:oDevice:nYOffset ::nPageWidth := oPrev:nHorzRes ::nPageHeight := oPrev:nVertRes Method Margins class Tpreview LOCAL nleft,ntop,nbottom,nright nleft :=-::nPrnXOffset ntop :=-::nPrnYOffset nRight := ::nPageWidth - ::nPrnXOffset nBottom := ...
by Silvio.Falconi
Wed Jan 03, 2018 10:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3151

Rpreview problems

... why not change the show pages into 2/4/6(8/10 pages ( I had make many years ago a test with this change as winword and it runned ok ) as ER ? Margins why not show the margins on rpreview as winword but only on preview not in print ? Winword/html why not save on doc and html ? ER converte the ...
by Silvio.Falconi
Wed Jan 03, 2018 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview problems
Replies: 0
Views: 410

Re: Report Margins

How?
by Silvio.Falconi
Tue Jan 02, 2018 11:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3151

Re: Report Margins

Yes, it can be done. Try using

Code: Select all  Expand view
oMeta:SetOrg(nX,nY)


EMG
by Enrico Maria Giordano
Tue Jan 02, 2018 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3151

Re: Report Margins

Enrico Maria Giordano wrote:That is the right way. As I already said, TPrinter has no margins to set.

EMG


i think it can be made directly on tmetafile
by Silvio.Falconi
Tue Jan 02, 2018 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3151

Re: Report Margins

That is the right way. As I already said, TPrinter has no margins to set.

EMG
by Enrico Maria Giordano
Tue Jan 02, 2018 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3151

Re: Report Margins

Another test : I set the margins : nDnMargin := 1.5 nTopMargin := 1.5 nLeftMargin := 0.9 nRightMargin := 2.0 #include <fivewin.ch>#define PAD_LEFT            0#define PAD_RIGHT           1#define PAD_CENTER          2Function Test(lPreview)LOCAL ...
by Silvio.Falconi
Mon Jan 01, 2018 11:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3151
Next

Return to advanced search