[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] Regarding changing fonts of SQR report at runtime



Hi Bhavesh,
 
I have done this in an SQR I recently wrote, which is working in our 
application. ( I am relatively new with SQR's, so there may be a better way to 
do this.)  Here is the code:
 
print  $page_4_line_13      (+1,12)
print  $page_4_line_14      (+1,12)
print  $page_4_line_15      (+1,12)

!---------------------------------------
!Change to smaller point size 
!---------------------------------------
 
alter-printer 
 font = 5
 point-size = 10
 

print  $page_4_line_16 (+2,1) wrap  105 15
 
!----------------------------------------------
!Change back to regular point size 
!----------------------------------------------
 
alter-printer 
 font = 5
 point-size = 11
 
print  $page_4_line_17 (+1,30)
print  $page_4_line_18 (+1,30)
print  $page_4_line_19 (+1,30)
print  $page_4_line_20 (+1,30)
 
 
Hope this helps.
 
D.

>>> "Bhavesh Solanki" <bhaveshs@hexaware.com> 10/24/2007 3:43 AM >>>
I want to ask can u change font of SQR during runtime?



Regards

Bhavesh Solanki





***************************************************************************************************************************
This e-mail communication and any attachments may be privileged and 
confidential to Hexaware and are intended only for the 
use of the recipients named above. If you are not the intended recipient, 
please do not review, disclose, disseminate, 
distribute or copy this e-mail and attachments. If you have received this email 
in error, please delete the same alongwith 
all attachments thereto and notify us immediately at mailadmin@hexaware.com .
***************************************************************************************************************************

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org 
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users