Choose Language Hide Translation Bar
OneNorthJMP
Level IV

JOURNAL Report Title

I want to create a journal 1st page with title that put in the centre of the page. But, seem like the textbox is always show up at the top of the page. Any idea? 

 

 

nw = New Window( "Reports",
	<<Journal,
	hlb = H List Box(
		lub = Lineup Box( N Col( 1 ), 
//ob_stat = Outline Box( "Statistic Summary"),
			tb = Text Box( "Pegasus Characterization Report" ),
			Page Break Box(), // start new page
		)
	)
);

tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) << Justify Text( "center" ) << setWrap( 800 ) <<
SetWidth( 1200 );

Reports = Current Journal();
Reports << Set page setup( margins( 0.1, 0.1, 0.1, 0.1 ), scale( 0.65 ), portrait( 0 ), paper size( "A4" ) );

 

 

image.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
txnelson
Super User

Re: JOURNAL Report Title

See if this gets you what you want

nw = New Window( "Reports",
	<<Journal,
	spacer box(size(0,600)),
	hlb = H List Box(
		lub = Lineup Box( N Col( 1 ), 
//ob_stat = Outline Box( "Statistic Summary"),
			tb = Text Box( "Pegasus Characterization Report" ),
			Page Break Box(), // start new page
		)
	)
);
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) <<
Justify Text( "center" ) << setWrap( 800 ) << SetWidth( 1200 );
Reports = Current Journal();
Reports << Set page setup(
	margins( 0.1, 0.1, 0.1, 0.1 ),
	scale( 0.65 ),
	portrait( 0 ),
	paper size( "A4" )
);
Jim

View solution in original post

Highlighted
OneNorthJMP
Level IV

Re: JOURNAL Report Title

Thanks Nelson. It work for me. 

View solution in original post

2 REPLIES 2
Highlighted
txnelson
Super User

Re: JOURNAL Report Title

See if this gets you what you want

nw = New Window( "Reports",
	<<Journal,
	spacer box(size(0,600)),
	hlb = H List Box(
		lub = Lineup Box( N Col( 1 ), 
//ob_stat = Outline Box( "Statistic Summary"),
			tb = Text Box( "Pegasus Characterization Report" ),
			Page Break Box(), // start new page
		)
	)
);
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) <<
Justify Text( "center" ) << setWrap( 800 ) << SetWidth( 1200 );
Reports = Current Journal();
Reports << Set page setup(
	margins( 0.1, 0.1, 0.1, 0.1 ),
	scale( 0.65 ),
	portrait( 0 ),
	paper size( "A4" )
);
Jim

View solution in original post

Highlighted
OneNorthJMP
Level IV

Re: JOURNAL Report Title

Thanks Nelson. It work for me. 

View solution in original post

Article Labels

    There are no labels assigned to this post.