Search found 12 matches: rect

Searched query: rect

by Antonio Linares
Thu Oct 03, 2024 7:52 am
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2024 (FWH 24.09)
Replies: 5
Views: 1887

Re: New FTDN September/Septiembre 2024 (FWH 24.09)

... prg, muestra como mostrar un fichero XML como un árbol desde un control webview.

* msglogo.prg: La función MsgSplash() ahora centra la imagen correctamente incluso cuando el escalado de la pantalla es mayor
del 100%.
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=44739&sid ...
by Antonio Linares
Wed Oct 02, 2024 4:11 pm
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2024 (FWH 24.09)
Replies: 5
Views: 1887

New FTDN September/Septiembre 2024 (FWH 24.09)

... with oCn:<tablename>( fieldlist )

* Fix: function chmHelpTopic( cnTopic ) had a bug for 64 bits. Now it is ok.

* New class TPoint (source\classes\rect.prg)
TPoint():New( nRow, nCol ) --> oPt
TPoint():NewXY( x, y ) --> oPt
Quick functions for creation PointXY(x,y)/PointRowCol(r,c)
Access and ...
by Jimmy
Thu Jun 06, 2024 10:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: paste one DC on second DC
Replies: 5
Views: 511

Re: paste one DC on second DC

hi,
Natter wrote:Jimmy, I compiled your example. References to bt_bmp_adjust_rect and HMG_parnl are not recognized
replace HMG_parnl() with hb_parnll()

you will find HB_FUNC( STRETCHBLT ) in Fivewin \source\winapi\bmpdraw.c
by Natter
Thu Jun 06, 2024 10:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: paste one DC on second DC
Replies: 5
Views: 511

Re: paste one DC on second DC

Jimmy, I compiled your example. References to bt_bmp_adjust_rect and HMG_parnl are not recognized
by Antonio Linares
Wed May 01, 2024 7:04 pm
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 3002

Re: New FTDN April 2024 (FWH 24.04)

... Falconi !!!

* Mejora: Hemos restaurado la llamada al método Resize() desde el método Activate() de la clase TWindow
pero con los parámetros correctos. Ahora funciona como se esperaba.

* FWMariaConnection:
- Nuevo: Nuevo método Record( cTable, [cWhere] ) --> Record Object
utilizando la nueva ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 3002

New FTDN April 2024 (FWH 24.04)

... also,
other styles are better suited for gradients.

- Now, flat style buttons also have alpha color support, like
other styles.

- While focusrect is drawn for othe styles using Windows API
function DrawFocusRect( hDC, rect ) (user has no choice of
colors), for flat style buttons FocusRect is ...
by Silvio.Falconi
Fri Jan 05, 2024 10:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 5558

Re: Create a Panel width a text

Dear Silvio,

You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text.
it will take into account the font you are using, etc.

The resulting width and height are stored in the rect structure.

Please look for ...
by Antonio Linares
Fri Jan 05, 2024 7:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 5558

Re: Create a Panel width a text

Dear Silvio,

You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text.
it will take into account the font you are using, etc.

The resulting width and height are stored in the rect structure.

Please look for DT ...
by Marc Venken
Wed May 17, 2023 10:40 am
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 1282

Re: Numeric alignment with oPrn:SayText( )

From Whatnew

* TWindow Method SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder )
Applies to all derived classes like dialogs and controls
To be used in o:bPainted.


function FW_SayText( hDC or oWnd, cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder )
Can be used with ...
by D.Fernandez
Thu Feb 02, 2023 4:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Print this character &
Replies: 2
Views: 328

Print this character &

... t print the character & , I tryed with other font but, don't.

There are more...
When I clicked on button "acrobat", the PDF file I created show me the roundbox whith the 4 corners round and rect.

(I usually use tUtilprn, thanks to Rafa TheFull) This was working

FWH 22.12


Saludos
Ruben Fernandez
by Antonio Linares
Mon Nov 07, 2022 9:38 pm
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 2598

Re: New FTDN October/Octure (FWH 22.10)

... utilizarla para imprimir la imagen.
Ejemplo:

cImage := FIELD->IMAGE
@ r,c PRINT TO oPrn IMAGE cImage SIZE w,h INCHES

ahora podemos utilizar directamente la variable de campo.
Ejemplo:

@ r,c PRINT TO oPrn IMAGE FIELD->IMAGE SIZE w,h INCHES

* oAdoRecordset en XBROWSER estaba dando un error en ...
by Antonio Linares
Wed Nov 02, 2022 11:55 am
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 2598

New FTDN October/Octure (FWH 22.10)

... variable and then use it
to print the image.
eg.,
cImage := FIELD->IMAGE
@ r,c PRINT TO oPrn IMAGE cImage SIZE w,h INCHES

now we can directly use the field variable.
eg.,
@ r,c PRINT TO oPrn IMAGE FIELD->IMAGE SIZE w,h INCHES

* XBROWSER oAdoRecordset was giving runtime error due to ...