Search found 16 matches: ologo

Return to advanced search

Re: Transparent Png on MDI Parent

Seems to depend on the bitmap, this code works for some bitmaps, I have also used @ 0,0 Bitmap... ...main program @ 0,0 Image oLogo File Mcs_AppPath() + "Images\SqlServerLogo.bmp" Of oWnd:oWndClient No Border ACTIVATE WINDOW oWnd VALID MCS_EXIT(oWnd,cPath,pPRG_ABRV) ON INIT ...
by byron.hopp
Fri May 10, 2024 7:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Transparent Png on MDI Parent
Replies: 11
Views: 1183

Re: Logo on MDI window.

Dear Silvio, I would say that you have not properly created oLogo as it is containing a string instead of an object I copied only your test and I add only a buttonbar ( oBarRight) and another Buttonbar (oBar) https://i.postimg.cc/nrzDb5Ws/b.png ...
by Silvio.Falconi
Thu Nov 10, 2022 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Logo on MDI window.
Replies: 10
Views: 1225

Re: Logo on MDI window.

Dear Silvio,

I would say that you have not properly created oLogo as it is containing a string instead of an object
by Antonio Linares
Wed Nov 09, 2022 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Logo on MDI window.
Replies: 10
Views: 1225

Re: Logo on MDI window.

... not bpainted and when I reopen the bar right I must redraw the image how I can resolve it ? I add oApp:oWinMain:bResized := { || SetLogo( oApp:oLogo, oApp:oWinMain ) and the procedure make error when I resize Error description: Error BASE/1004 Metodo non disponibile: NWIDTH Args: [ 1] = C c:\work\fwh\bitmaps\fivetech.bmp ...
by Silvio.Falconi
Wed Nov 09, 2022 12:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Logo on MDI window.
Replies: 10
Views: 1225

Logo on MDI window.

... my program gets hung up when clicking on the menu. Here is the old code I used in the main program just before the Activate Window: @ 0,0 Bitmap oLogo File Mcs_AppPath() + "Images\EocwdLogo.bmp" of oWnd:oWndClient PIXEL NOBORDER oWnd:CoorsUpdate() oWnd:bPainted := {|| SetLogo( oLogo,oWnd ...
by byron.hopp
Sat Jan 02, 2021 11:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Logo on MDI window.
Replies: 10
Views: 1225

Re: "PROBLEMILLA" CON TCBROWSE FWH

... ID 4003 ; HEADERS "NOMBRE", "CGO","C.I.F" ; ON CHANGE(COGE_COMPANIA(),REFRESCA_COMPANIA(),capturalogo(odl,ologo,"COMPANIA")) ; ON RIGHT CLICK (MENUCIA(NROW,NCOL,obRW,"COMPANIA",OLOGO)) ; OF odl FONT OFONT10 COLOR LETRAS,FONDO OBRW:BKEYDOWN:={ ...
by pacotre
Tue May 12, 2020 4:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "PROBLEMILLA" CON TCBROWSE FWH
Replies: 20
Views: 2949

Re: New FWH 18.01

Thank You very much it works I had to add for all images @ 518, 845 BITMAP oLogo[1] FILE c_path1 + "U-Kingdom.bmp" PIXEL NOBORDER OF oDlg oLogo[1]:lTransparent = .t. I think the release 17.12 has detected the alpachannel and oLogo[1]:lTransparent = ...
by ukoenig
Sat Feb 17, 2018 11:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 18.01
Replies: 11
Views: 2414

Re: New FWH 18.01

... http://www.pflegeplus.com/IMAGES/Update1.jpg the xbrowse-sample doesn't work anymore missing alphablended @ 518, 865 BITMAP oLogo[1] FILE c_path1 + "U-Kingdom.bmp" PIXEL NOBORDER OF oDlg @ 554, 865 BITMAP oLogo[2] FILE c_path1 + "Spain.bmp" PIXEL NOBORDER ...
by ukoenig
Wed Feb 14, 2018 6:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 18.01
Replies: 11
Views: 2414

Re: Centralize image in window

The needed calculation on window-resize ( I can add a compiled sample + source if needed ) Logo : @ nLTop, nLLeft IMAGE oLogo ; // Top / Left FILENAME c_Path1 + cLogo ; NOBORDER ; OF oWnd PIXEL UPDATE TRANSPARENT The calculation to center the image-position on window-resize : oWnd:bResized ...
by ukoenig
Wed May 06, 2015 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Centralize image in window
Replies: 3
Views: 910

Re: MDI-Frame and using oWnd:bResized := {|| ...} ?

... ) lVisible := .F. ACTIVATE WINDOW oWnd MAXIMIZED ; ON RESIZE ( W_BACKGRD( oWnd:oWndClient, "PICTURE8.jpg" ), ; IIF( lVisible = .T., oLogo:End(), NIL ), ; PAINT_LOGO(oWnd:oWndClient), ; aLogo[1] := ( oWnd:nHeight / 2 ) - 50 - ( 248 / 2 ), ; aLogo[2] := ( oWnd:nWidth / 2 ) - ( 320 ...
by ukoenig
Fri Apr 06, 2012 6:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MDI-Frame and using oWnd:bResized := {|| ...} ?
Replies: 3
Views: 869

Re: PalBmpDraw transparent on main window with gradient

... Left, Bottom and Right-position to redraw on new Backround. Also You need a Logical-var, to know if the Logo has to be closed. I used STATIC : oLogo lVisible := .F. aLogo[4] aLogo[1] := 120 // Logo Start-top-pos. aLogo[2] := 50 // Logo-Start-left-pos. nWColorF := 16443068 // 1. Color nWColorB ...
by ukoenig
Tue Mar 13, 2012 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PalBmpDraw transparent on main window with gradient
Replies: 18
Views: 8693

Re: Dialog NOWAIT does not go to background

... ( WND_BRUSH( nWStyle, lWGrad, nWColorF, nWColorB, nWPos, cWBrush, cWImage ) , ; SHOW_DLG(oDlg) , oDlg:Hide() ) ; ON PAINT ( ABPaint( hDC, 50, 50, oLogo, 255 ), ; NEW_LOGO(hDC) ) oLogo:End() oWndLogo:End() oFont1:End() oBrwFont:End() oTitleFont:End() RETURN NIL // ----- FUNCTION SHOW_DLG(oDlg) ...
by ukoenig
Thu Jun 30, 2011 9:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog NOWAIT does not go to background
Replies: 5
Views: 1401

Re: Paper size problems

... Mheight * .03, 2) M_rto = ROUND( Mheight * .13, 2) M_col = ROUND( Mwidth * .05, 2) M_cto = ROUND( Mwidth * .25, 2) IF FILE(cLogo) DEFINE BITMAP oLogo FILENAME cLogo oPrn:SayBitmap( M_row, M_col, cLogo, (M_cto-M_col), M_row+(M_rto-M_row) ) ENDIF // Header... Mrow := ROUND( Mheight * .03, 0) FOR ...
by cdmmaui
Sat Apr 24, 2010 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paper size problems
Replies: 9
Views: 2781

Paper size problems

... Mheight * .03, 2) M_rto = ROUND( Mheight * .13, 2) M_col = ROUND( Mwidth * .05, 2) M_cto = ROUND( Mwidth * .25, 2) IF FILE(cLogo) DEFINE BITMAP oLogo FILENAME cLogo oPrinter:SayBitmap( M_row, M_col, cLogo, (M_cto-M_col), M_row+(M_rto-M_row) ) ENDIF // Header... Mrow := ROUND( Mheight * .03, ...
by cdmmaui
Fri Apr 23, 2010 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paper size problems
Replies: 9
Views: 2781

Re: Problema con DIALOGS FOLDER y REPORT

... INTERVAL aConfig[5] ACTION USBChk() oTimer:Activate() ACTIVATE WINDOW oWnd ICONIZED ON INIT START(oWnd) RETU NIL FUNC START(oWnd) LOCAL oDlg,oSAY,oLOGO,oPANEL,oBtn,oBtnLOGO,oCBX,nEle LOCAL oCOM1,oCOM2,oCOM3,oCOM4,oCOM5,oTIPOSYS LOCAL cCOM:='' cIMG:='' oGET:=ARRAY(43) oG3:=ARRAY(20) aCOOP:={'','10','20','25','30','33','40','50','60','70','75','80','90','100'} ...
by ADBLANCO
Mon Nov 09, 2009 2:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con DIALOGS FOLDER y REPORT
Replies: 13
Views: 2971
Next

Return to advanced search