Search found 1709 matches: paint

Return to advanced search

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse. Also oBrw:nDataRows changes when browse is resized. DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen ) would work Not%20working ...
by Silvio.Falconi
Tue Mar 26, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 196

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse.
Also oBrw:nDataRows changes when browse is resized.

Code: Select all  Expand view
DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen )

would work
by nageswaragunupudi
Tue Mar 26, 2024 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 196

Re: WebView resize

Dear Otto, You are creating a new TWebView object on each PAINT event! You have to modify your code this way: function webshow(console,hWnd, nlink)   local hPost := {}   local cHtmlOrUrl :=  "C:\fwh2023\samples\address.html"  ...
by Antonio Linares
Sat Mar 09, 2024 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 309

Re: A picture on top of the text

1) Text Bottom aligned and image top aligned?
or
2) Paint text in foreground over image as background?
or
3) Text as background and transparent image as foreground?
by nageswaragunupudi
Tue Mar 05, 2024 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A picture on top of the text
Replies: 3
Views: 168

FWH Gradiens .. seem slower FWH 2310 - RAO

Rao As you know I use Functions to paint my screen Gradients .. for some reason the DarkGreyGrad() functions paints much slower than the LightGreyGrad) FUnction ... especially with FWH2310 ... older versions of FWH are not effected ... //--------------------Func ...
by Rick Lipkin
Sat Feb 24, 2024 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH Gradiens .. seem slower FWH 2310 - RAO
Replies: 2
Views: 140

Re: Cambio de imagen a 1 boton

... oBar FILE "Efectivo.bmp" ; ACTION (oBoton1:cCaption:='Cheque',oBoton1:FreeBitmaps(),oBoton1:LoadBitMaps("Cheque4.Bmp"),oBoton1:Paint(),oBoton1:refresh(),Cobros()) ; MESSAGE "Mantenimiento de Cobros"; PROMPT "Cobros" oBoton1:lTransparent = .t. y se que solo ...
by José Camilo
Wed Feb 14, 2024 3:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambio de imagen a 1 boton
Replies: 10
Views: 215

Re: Mark field as required

... changes to the TGet class consist of adding a new data bMandatory that returns .t. If the Get is mandatory and a call to a new method, in the ::Paint() method draw a triangle in the lower left corner of the TGet() https://i.ibb.co/GR84PXB/Snag-2da06c7.png   // --------  DRAW ...
by paquitohm
Sun Feb 04, 2024 9:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 1584

Re: winexec ó ShellExecute

hi,
when DblClick in Explorer on a *.BMP it will open *.BMP with associate App like Paint
Winexec() "just" call "special" EXE while ShellExecute() is use with associate File
by Jimmy
Thu Dec 14, 2023 4:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 808

Re: Tget /tsay disable/enable

If you want to paint on the dialog then you must use the hDC of the dialog, don't use the hDC of the control Function MakeBox(oControl,oDlgEdit)   local oBox   local aRect := GetClientRect(oControl:hWnd ...
by Silvio.Falconi
Thu Nov 09, 2023 10:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tget /tsay disable/enable
Replies: 5
Views: 318

Re: Tget /tsay disable/enable

If you want to paint on the dialog then you must use the hDC of the dialog, don't use the hDC of the control
by Antonio Linares
Thu Nov 09, 2023 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tget /tsay disable/enable
Replies: 5
Views: 318

Re: Xbase++ :lockUpdate() -> Fivewin ?

hi,

have a look at https://learn.microsoft.com/de-de/windows/win32/api/winuser/nf-winuser-lockwindowupdate

i use it e,g, when "re-size" a Window and do NOT want "paint" until all is finish
by Jimmy
Thu Nov 02, 2023 6:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbase++ :lockUpdate() -> Fivewin ?
Replies: 10
Views: 692

Re: Moving the dialog

Dear Yuri, when a window, dialog or control is painted, FWH evals oWnd:bPainted if defined from METHOD Paint() CLASS TWindow      if ValType( ::bPainted ) == "B"         uVal = Eval( ::bPainted, ::hDC, ::cPS, Self )      endif ::cPS ...
by Antonio Linares
Mon Oct 23, 2023 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Moving the dialog
Replies: 8
Views: 471

Re: Fijar Texto en la ventana Principal de mi Aplicación

O también puedes usar el method de la clase TWindow
Code: Select all  Expand view

<oParent>:SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder, nAddlStyle )
 

llamándolo desde el ON PAINT del <oParent>
-> oParent es el objeto del container ( Window, Dialog, TPanel, etc. )
by cnavarro
Sat Sep 30, 2023 12:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fijar Texto en la ventana Principal de mi Aplicación
Replies: 5
Views: 349

Re: ejemplo como hacer graficos en dialogo de fw

... Error BASE/1066 Argument error: conditional Args: [ 1] = U Stack Calls =========== Called from: .\source\classes\TGRAPH.PRG => TGRAPH:PAINT( 1270 ) Called from: .\source\classes\TGRAPH.PRG => (b)TGRAPH( 136 ) Called from: .\source\classes\TGRAPH.PRG => TGRAPH:DISPLAY( 0 ) ¿que ...
by JoseAlvarez
Sat Sep 30, 2023 6:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ejemplo como hacer graficos en dialogo de fw
Replies: 12
Views: 576

Re: SetDlgGradient

Rao

I am a bit perplexed ? ... These functions work just fine for me ... what have I done wrong or need to change ?

Thanks
Rick Lipkin

ps, I have noticed with newer versions of FWH that the above gradients paint slower than in previous versions of FWH
by Rick Lipkin
Fri Sep 29, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751
Next

Return to advanced search