Search found 37 matches: proportional

Return to advanced search

Re: Font sizing for printout.

... nil, "INCHES" )[ 3 ]return Int( nWidthPix / nPixPerChar )  This does not work (rather meaningless) for proportional fonts like Arial, Tahoma, Verdana, etc
by nageswaragunupudi
Thu Jun 25, 2020 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Font sizing for printout.
Replies: 3
Views: 751

Re: Font sizing for printout.

... nil, "INCHES" )[ 3 ]return Int( nWidthPix / nPixPerChar )  This does not work (rather meaningless) for proportional fonts like Arial, Tahoma, Verdana, etc
by nageswaragunupudi
Thu Jun 25, 2020 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Font sizing for printout.
Replies: 3
Views: 751

Re: Responsive desktop design

... Espero sus comentarios en este apasionante tema For the second B) there are several options, since I am not clear that it is only a problem of proportionality, which is what I have used so far, since even, it may be the case that is inversely proportional to its display on devices with higher ...
by cnavarro
Fri Nov 16, 2018 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Responsive desktop design
Replies: 19
Views: 5860

Re: Pro's and Contra's fom Resources or Coded screens

... For each control, define its behavoir on resize: 2a) For top and bottom: Anchored to the top edge of its container, anchored to the bottom, move proportionally. 2b) For left and right: Anchored to the left edge, to the right edge, move proportionally. 3) At the init of the dialog, right after ...
by Carlos Mora
Sat Aug 05, 2017 7:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pro's and Contra's fom Resources or Coded screens
Replies: 47
Views: 11459

Re: remove formatting within a memo field

... returns (Chr(13)+Chr(10)) since soft carriage returns are not interpreted as end of line characters. Note: when a memo field is output using a proportional font, use MemoTran() to replace soft carriage returns with a space character. Rick Lipkin
by Rick Lipkin
Thu Jan 26, 2017 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1218

Re: Function to Print Memo with proportional font.

Hello Byron, I use "EasyReport". Best regards, Otto function memoDruck( cTextNeu, cTitle  )    local druckzeile := ""    local lPreview  := .t.    local oVRD    local Zeilen        := 0   *---...
by Otto
Sun Oct 30, 2016 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to Print Memo with proportional font.
Replies: 6
Views: 931

Re: Function to Print Memo with proportional font.

Now that's an answer. Thank you, I believe I have the FDN so I will check for that version. I believe I am currently running 15.xx, with Borland cc7 .

Thanks, again.

Byron ...
by byron.hopp
Sun Oct 30, 2016 4:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to Print Memo with proportional font.
Replies: 6
Views: 931

Re: Function to Print Memo with proportional font.

Very very simple, if you are using FWH 16.04 or later. You do not need to calculate any thing. Please use this syntax: #xcommand @ <nRow>, <nCol> PRINT TO <prn> TEXT <cText> ;      [SIZE <nWidth> [,<nHeight>] ] ;      ...
by nageswaragunupudi
Sun Oct 30, 2016 4:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to Print Memo with proportional font.
Replies: 6
Views: 931

Re: Function to Print Memo with proportional font.

Yes, thank you, I figured out that much, seems to be more effort in breaking the lines at the right place. I'll probably get it, but I was just trying to see if it was out there.

Thanks,

Byron ...
by byron.hopp
Sat Oct 29, 2016 10:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to Print Memo with proportional font.
Replies: 6
Views: 931

Re: Function to Print Memo with proportional font.

oPrn:gettextwidth(ctext, oFont) is useful for this
by dtussman
Sat Oct 29, 2016 7:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to Print Memo with proportional font.
Replies: 6
Views: 931

Function to Print Memo with proportional font.

Is there a memo print function that will work with Proportional Spaced Fonts.

i.e.

PrintMemo( cText,oPrn,oFont,nWidthInInches)

Maybe is could return an array with the number elements same as lines created.

Step through this and your done.

Just curious,

Byron ...
by byron.hopp
Sat Oct 29, 2016 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to Print Memo with proportional font.
Replies: 6
Views: 931

New FTDN June/Junio 2016 (FWH 16.06)

... round box items: 1, 2, 3 ... [ <lUpper: UPPERMNU> ] ; - Say Prompt items UpperCase [ <lAdjust: ADJUST> ] ; - Adjust height Menu Bar proportional of height Font assigned [ LEFTWIDTH <nLeftWidth> ] ; - Spaces left rect of item ( logo Menu ) [ <file or resource: LOGOMENU> ...
by Antonio Linares
Sun Aug 07, 2016 7:03 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2016 (FWH 16.06)
Replies: 2
Views: 2346

Re: Bugs in TGgiplus

I'm working on making a proportional resize the images to resize we do in Windows, but so far without success

Regards
by cnavarro
Sun Feb 28, 2016 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bugs in TGgiplus
Replies: 18
Views: 6628

Re: Move controls as window size

... coordinates are hooked or anchored to the top/left window/dialog coordinates, so no change is made when windows is resized (e.g. left toolbar) 2: Proportional: used mostly with graphic controls, every control coordinate is changed proportionally to the dialog size. 3: Anchored: one ore more control's ...
by Carlos Mora
Tue May 19, 2015 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Move controls as window size
Replies: 21
Views: 6239
Next

Return to advanced search