Search found 30 matches: vcenter

Searched query: vcenter

by nageswaragunupudi
Sun Feb 02, 2025 6:25 pm
Forum: FiveWin para Harbour/xHarbour
Topic: problemas con CheckBox en Dialog con TRANSPARENT en FWH 2409
Replies: 12
Views: 11419

Re: problemas con CHECKBOX en FWH 2409

... Edit15",122,"EDIT",ES_RIGHT |WS_CHILD |WS_BORDER |WS_TABSTOP |WS_VISIBLE ,118,295,65,12
CONTROL "&Aceptar",200,"BUTTON",BS_PUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,103,330,79,17
CONTROL "&Cancelar",201,"BUTTON",BS_PUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS ...
by CARLOS ATUNCAR
Sat Feb 01, 2025 5:02 pm
Forum: FiveWin para Harbour/xHarbour
Topic: problemas con CheckBox en Dialog con TRANSPARENT en FWH 2409
Replies: 12
Views: 11419

problemas con CheckBox en Dialog con TRANSPARENT en FWH 2409

... Edit15",122,"EDIT",ES_RIGHT |WS_CHILD |WS_BORDER |WS_TABSTOP |WS_VISIBLE ,118,295,65,12
CONTROL "&Aceptar",200,"BUTTON",BS_PUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,103,330,79,17
CONTROL "&Cancelar",201,"BUTTON",BS_PUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS ...
by Antonio Linares
Thu Aug 22, 2024 4:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 7107

Re: FWH_2407 oSay does not assume nHeight

... SHADOW > ] ;
[ <lBox: BOX > ] ;
[ <lRaised: RAISED > ] ;
[ <adj: ADJUST> ] ;
[ <lTrans: TRANSPARENT>];
[ <uni: UNICODE, ANSI> ] ;
[ <lVCenter: VCENTER> ] ;
[ CARGO <uCargo> ] ;
=> ;
[ <oSay> := ] TSay():New( <nRow>, <nCol>, <{cText}>,;
[<oWnd>], [<cPict>], <oFont>, <.lCenter ...
by RAMESHBABU
Wed Jun 12, 2024 1:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: Position of the text in the checkbox
Replies: 2
Views: 532

Re: Position of the text in the checkbox

Hi,

The following may be useful to you.

* Horizontal Alignment Constant
BS_LEFT
BS_CENTER
BS_RIGHT

* Vertical Alignment Constant
BS_TOP
BS_VCENTER
BS_BOTTOM

* To Show Text Left side of Checkbox (Default Right)
BS_LEFTTEXT

oCb:nStyle := nOr(WS_CHILD, WS_VISIBLE, BS_AUTOCHECKBOX, WS_TABSTOP ...
by Jimmy
Mon Feb 26, 2024 10:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 6330

Re: Create a Panel width a text

... Silvio,

it seems me that 4th Parametern cAlign of FW_SsayText is missing so
nVAlign := If( "T" $ cAlign, DT_TOP, If( "B" $ cAlign, DT_BOTTOM, DT_VCENTER ) )
nHAlign := iF( "L" $ cAlign, DT_LEFT, If( "R" $ cAlign, DT_RIGHT, DT_CENTER ) )
will give you DT_VCENTER / DT_VENTER
that will cause wrap ...
by Silvio.Falconi
Sat Feb 24, 2024 11:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 6330

Re: Create a Panel width a text

... f. ) }
which do NOT Show hole Text when e.g. TEXT are 4 Lines instead of 2 Lines

also it does WORDBREAK while Default Style of FW_SayText are DT_VCENTER / DT_CENTER
look at FUNCTION FW_SayText() in c:\fwh\source\function\imgtxtio.prg

when using more Lines oPanel2 "grow" but Position of oPanel3 are ...
by Jimmy
Sat Feb 24, 2024 5:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 6330

Re: Create a Panel width a text

... f. ) }
which do NOT Show hole Text when e.g. TEXT are 4 Lines instead of 2 Lines

also it does WORDBREAK while Default Style of FW_SayText are DT_VCENTER / DT_CENTER
look at FUNCTION FW_SayText() in c:\fwh\source\function\imgtxtio.prg

when using more Lines oPanel2 "grow" but Position of oPanel3 are ...
by nageswaragunupudi
Wed May 17, 2023 12:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 1598

Re: Numeric alignment with oPrn:SayText( )

... not sure anymore) . Sorry then .... :roll:
Your post is for Text and is relevant in the sense, it explains cAlign.
On screen, cAlign defaults to VCenter and HCenter.
On printer it defaults to "TL" top left. and this parameter is next to oFont.
In the present case we may consider using "TR". and ...
by Silvio.Falconi
Wed Aug 25, 2021 9:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 5395

Re: Lookup method of Tdatabase

... FONT oFont &nbsp; ;&nbsp; &nbsp; &nbsp; &nbsp;@ 60, &nbsp;1 &nbsp;SAY oSay PROMPT cText SIZE 160,10 PIXEL OF oFolder:aDialogs&#91;1&#93; CENTER VCENTER FONT oBold&nbsp; &nbsp; &nbsp; &nbsp;@ 192, &nbsp;96 BUTTON oBtn PROMPT "Confirm" OF oDlg SIZE 84, 24 PIXEL FONT oFont ;&nbsp; &nbsp; &nbsp; &nbsp ...
by nageswaragunupudi
Thu Jun 10, 2021 3:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: Print Problem with FWH2104
Replies: 27
Views: 3827

Re: Print Problem with FWH2104

"" -> Center vertically and horizontally (default)
"T" -> Top - Center
"B" -> Bottom - Center
"L" -> Left - VCenter
"R" -> Right - VCenter
"TL" -> Top Left
and any combination of T or B with L or R

This notation is used in most methods and functions (printer and windows)
by Ariel
Wed May 26, 2021 4:37 pm
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR EN TSAY !!!
Replies: 4
Views: 634

ERROR EN TSAY !!!

... q el get. Ej:

nRow:=nRow+50
@ nRow,25 SAY oObj["sTelefon"] PROMPT "Teléfono" OF oDlg SIZE nW-50,35 PIXEL COLOR nRGB(AZUL_SAM),nRGB(240,240,240) VCENTER BORDER
nRow:=nRow+35
@ nRow,25 GET oObj["telefono"] VAR ::cTelefono OF oDlg SIZE nW-50,35 PIXEL

Lo logico es q si pongo border me haga un ...
by Silvio.Falconi
Thu Mar 25, 2021 11:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: FolderEx problem
Replies: 6
Views: 1020

Re: FolderEx problem

Marc Venken wrote:No code to test, but have you tried the combination of 2 parameters ?.

this is xbrowse and mayby also used for folders. Give it a try

:nDataStrAlign := AL_CENTER + AL_BOTTOM



ON METHOD PaintTB() CLASS TFolderEx THERE ARE ONLY DT_SINGLELINE, DT_VCENTER, DT_CENTER
by ukoenig
Wed Apr 01, 2020 5:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Wrong Tooltip
Replies: 9
Views: 1772

Re: Wrong Tooltip

... RIGHT, DT_LEFT ), DT_WORDBREAK ) )

DrawText( hDC, ::cFoot, { ::aFoot[ 1 ], ::aFoot[ 2 ] + 10 + nWFoot,;
::aFoot[ 3 ], ::aFoot[ 4 ] }, nOr( DT_VCENTER, DT_SINGLELINE, 8192 ) )

http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Tooltip4&#46;jpg

oTip := TC5ToolTip&#40;&#41;:New&#40; 0,0 , 250, 190 ...
by Antonio Linares
Wed Nov 30, 2016 12:07 pm
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre 2016 (FWH 16.11)
Replies: 4
Views: 4174

New FTDN November/Noviembre 2016 (FWH 16.11)

... from resources and exe/dll files. Fixed now.

* New: function ARGB2RGB( nArgbClr/nRgbClr ) -> nRgbClr

* Enhancement: SAY now has a new clause VCENTER. When specified, the
text is vertically centered. This clause forces the text to single
line and is not suitable for multiline text. For Says ...
by nageswaragunupudi
Wed Nov 30, 2016 4:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: Say centrado vertical
Replies: 6
Views: 1176

Re: Say centrado vertical

We added a new clause VCENTER to SAY command in FWH16.11