Search found 31 matches: charpix

Return to advanced search

Re: none PIXEL calculation

hi Antonio,
Antonio Linares wrote:FWH\include\constant.ch

ok, now understand

it depend on Control which *_CHARPIX_H and *_CHARPIX_W to use

Code: Select all  Expand view
// Say
#define SAY_CHARPIX_H   15
#define SAY_CHARPIX_W    6


so
Code: Select all  Expand view
@ 1, 2 SAY

are
Code: Select all  Expand view
@ 1*SAY_CHARPIX_W, 2*SAY_CHARPIX_H SAY ... PIXEL

right :?:
by Jimmy
Fri Apr 14, 2023 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: none PIXEL calculation
Replies: 6
Views: 317

Re: A problem with SAY and font- style and size

In Class TSAY I added Line 93 // DEFAULT nWidth := SAY_CHARPIX_W * Len( ::cCaption ) - 4 DEFAULT nWidth := GetTextWidth( 0, ::cCaption, If( oFont != nil, oFont:hFont,; If( oWnd:oFont != nil, oWnd:oFont:hFont,) ) ) + 5 because NO textwidth and height is defined ( DEFAULT-values ) should be corrected ...
by ukoenig
Thu Aug 15, 2019 5:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with SAY and font- style and < size default >
Replies: 5
Views: 791

Definir parametros en funciones de clases

Hola, que tal: Una pregunta sobre las clases, estoy viendo como se definen y observo que en la definicion de los metodos. Por Ejemplo en la clase TAutoget de Daniel Garcia (Hay que dar las autorias) METHOD KeyDown( nKey, nFlags ) METHOD OpenList() // Este metodo en su definicion no tiene parametros....
by jvtecheto
Thu Apr 18, 2019 4:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Definir parametros en funciones de clases
Replies: 1
Views: 450

Re: scroll on folder

On explorer bar there is a dispositive create a vertical scroll when we resize it...why we cannot insert it on folder class ? here a test ( but not run) #include "fivewin.ch" #include "constant.ch" #define WS_VSCROLL 2097152 // 0x00200000L Function test() Local oDlg,oFolder,oVScr...
by Silvio.Falconi
Sun Feb 11, 2018 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: scroll on folder
Replies: 6
Views: 1127

Re: add a symbol

Function Test() Local oAllegati, Local nBottom := 33 Local nRight := 115 Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 ) Local nHeight := nBottom * DLG_CHARPIX_H LOcal oFontOpenlist:= TFont():New( "Tahoma", 0, -12,,.F. ) DEFINE DIALOG oAllegati ; TITLE "test" ; SIZE nWidth, nH...
by Silvio.Falconi
Fri Jan 19, 2018 9:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a symbol
Replies: 10
Views: 1283

Richedit on a dialog

I must insert richedit in a my dialog Ho I can make to insert buttonbar up the RICHEDIT control is there a possibility to create a buttonbar at x,y coordinates ? http://www.eoeo.it/wp-content/uploads/2016/04/mydlg.jpg static Function ModelliEmail() Local nBottom := 29.2 Local nRight ...
by Silvio.Falconi
Sun Apr 17, 2016 8:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit on a dialog
Replies: 17
Views: 8928

Window Coordinates

Does anybody know the differences between the coordinates of "Define Window", and "oWnd:Move". I am trying to set the windows to the same position after saving the coordinates as: oWnd:CoorsUpdate() hIni:nLeft := ROUND(oWnd:nLEFT / WIN_CHARPIX_W,0) hIni:nWidth := ROUND((oWnd:nRIG...
by byron.hopp
Fri Apr 01, 2016 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window Coordinates
Replies: 0
Views: 324

Re: maxrow() and maxcol()

I use a dialog #include "fivewin.ch" #include "constant.ch" FUNCTION BlackJack() Local nBottom := 42 Local nRight := 99 Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 ) Local nHeight := nBottom * DLG_CHARPIX_H DEFINE DIALOG oDlg21 ; TITLE "test" ; SIZE nWidth, nHeigh ...
by Silvio.Falconi
Wed Feb 17, 2016 9:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: maxrow() and maxcol()
Replies: 16
Views: 8272

DIALOG ON DIALOG

is possible make a dialog no caption into a dialog ? I wish create it as this picture : http://img4.imageshack.us/img4/5540/bbbbrj.jpg I made this code but the dialog come to another position and not on the dialog #include "FiveWin.ch" #include "constant.ch" Funct...
by Silvio.Falconi
Mon May 06, 2013 5:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIALOG ON DIALOG
Replies: 8
Views: 3025

Change on Vertical show with xbrowse

Antonio publishes on Topic Utilitades/planitllas this sample to show vertical a record on xbrowse #include "FiveWin.ch"#include "xbrowse.ch"function Main()   local oDlg, oBrw, oCol, aRecord, nAt := 1      USE Customer      ...
by Silvio.Falconi
Sun Apr 28, 2013 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change on Vertical show with xbrowse
Replies: 5
Views: 1636

Re: TO ANTONIO CONTROL GET BITMAP ACTION ERROR

Local nBottom := 26.9 Local nRight := 46 Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 ) Local nHeight := nBottom * DLG_CHARPIX_H DEFINE DIALOG oDlg ; TITLE aTitle[ nMode ] ; SIZE nWidth, nHeight TRANSPARENT PIXEL ; GRADIENT { { 1,CLR_WHITE, LIGHTCYAN } } ; FONT oFont STYLE nOr( DS_MODALFRAME, WS...
by Eoeo
Thu Sep 13, 2012 8:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO CONTROL GET BITMAP ACTION ERROR
Replies: 9
Views: 1458

Re: Why is SAY_CHARPIX_H != GET_CHARPIX_H

Because SAYs and GETs heights are differents...
by Antonio Linares
Mon Sep 03, 2012 7:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Why is SAY_CHARPIX_H != GET_CHARPIX_H
Replies: 2
Views: 547

Re: Why is SAY_CHARPIX_H != GET_CHARPIX_H

Dear dmajkic, try this one : #include "FiveWin.ch"function Main()    local odlg    local cField :=space(20)    local cWith  :=space(20)    local ofont          define font ofont name 'courier' size 0,10        DEFINE DIALOG oDlg TITLE "REPLACE" SIZE 300, 2...
by kok joek hoa
Mon Sep 03, 2012 6:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Why is SAY_CHARPIX_H != GET_CHARPIX_H
Replies: 2
Views: 547

Why is SAY_CHARPIX_H != GET_CHARPIX_H

The problem I have is that simple code like this DEFINE DIALOG oDlg TITLE "REPLACE" SIZE 300, 250   @ 1, 1 SAY "REPLACE :"   @ 1, 5 GET cField OF oDlg   @ 2, 1 SAY "WITH    :"   @ 2, 5 GET cWith OF oDlg   ... misplace positions of labels and textedit boxes, like this: h...
by dmajkic
Mon Sep 03, 2012 12:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Why is SAY_CHARPIX_H != GET_CHARPIX_H
Replies: 2
Views: 547

Re: Counting Entries of INI-section ?

Antonio, And If I not Know the name of each row ? please see it sample : cSection:="Cars" [Cars] Opel=4569390202 Daihatsu=48838929292 Ford=38329494949 Ferrari=2828394949 Lamborghini=334595940202 I need an array with name of Entry and values of each entries Function Test Local cInifile := c...
by Eoeo
Sun Aug 26, 2012 6:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Counting Entries of INI-section ?
Replies: 4
Views: 998
Next

Return to advanced search