Search found 14 matches: cresource

Return to advanced search

Re: New FTDN March/Marzo 2022 (FWH 22.03)

... DEFINE CURSOR oCur FILE "mycur.cur" Durante el tiempo de ejecución, la imagen del cursor puede ser cambiada por oCursor:SetSource( [cResource/cFile], [cPreDef] ). DATA Source --> nombre de la fuente( recurso/archivo/predef ) DATA Source := cFile/cResource cambia la imagen del ...
by Antonio Linares
Mon Apr 11, 2022 4:11 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 598

New FTDN March/Marzo 2022 (FWH 22.03)

... from a file (cur/ico) also. eg DEFINE CURSOR oCur FILE "mycur.cur" During runtime, cursor image can be changed by oCursor:SetSource( [cResource/cFile], [cPreDef] ) DATA Source --> name of source( resource/file/predef ) DATA Source := cFile/cResource changes the cursor image at runtime. ...
by Antonio Linares
Sun Apr 10, 2022 7:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 598

Re: Use PNG image

... where you use an image or bmp file name. If you want to just display the image on any window, dialog, control, you can use [code] oWnd:DrawImage( cResource, { nTop, nLeft, Bottom, nRight } ) // OR FW_DrawImage( hDC, cResource, { nTop, nLeft, Bottom, nRight } ) [/code[ In other words, you can use ...
by ctoas
Mon Jan 25, 2021 9:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Use PNG image (Solved)
Replies: 8
Views: 1076

Re: Use PNG image

... where you use an image or bmp file name. If you want to just display the image on any window, dialog, control, you can use [code] oWnd:DrawImage( cResource, { nTop, nLeft, Bottom, nRight } ) // OR FW_DrawImage( hDC, cResource, { nTop, nLeft, Bottom, nRight } ) [/code[ In other words, you can use ...
by nageswaragunupudi
Mon Jan 25, 2021 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Use PNG image (Solved)
Replies: 8
Views: 1076

New FTDN February/Febrero 2010 (10.2)

... Method Redefine(). Command REDEFINE TITLE ...implemented for TTitle objects too. * Fix: fixed bug in Class TXBrowse, using function fnAddBitmap() cResource parameter can be a resource ID like a number, and now check if it is a GDI object. * New: function IsGdiObject( hGDI ) checks if a handle ...
by Antonio Linares
Thu Feb 25, 2010 10:00 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2010 (10.2)
Replies: 4
Views: 3837

New FTDN January/Enero 2010 (10.1)

... formatting its output. * Fix: Class TMenuItem Method SetPrompt(), 2007 style was not respected. * New: Class TXBrowse Method AddBitmap( cBmpFie/cResource/nBmpHandle ) --> nBmpNo Now, in addition to adding bitmaps to different columns, bitmaps can also be added to Browse object, which can ...
by Antonio Linares
Tue Jan 26, 2010 1:07 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2010 (10.1)
Replies: 0
Views: 1624

Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated

... )    local cText, cLine, nFrom := 1    local cCaption := "", nTop, nLeft, nWidth, nHeight, nStyle, nFontSize, cFontName    local oDlg, cResource := "", cFirst, nControls := 0    local oFnt        //Otto start    local DialogName    local oClp    DEFINE CLIPBOARD oClp OF oWnd ...
by Otto
Sun Aug 30, 2009 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Replies: 38
Views: 11546

Re: New FTDN July/Julio 2009 (9.07)

... de fondo no se estaban pintando correctamente en caso de usar diálogos creados desde recursos. (iii) Parámetros: uBack : colores cImageFile / cResource / hBmpHandle / oBrush / aGradient En el caso de los manejadores de brochas y ficheros de mapas de bits, los objetos se destruirán al finalizar ...
by Antonio Linares
Wed Aug 05, 2009 3:27 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2009 (9.07)
Replies: 1
Views: 2738

New FTDN July/Julio 2009 (9.07)

... was not properly painted in case of dialogs created from resource, in stretch and fill modes. Now fixed. (iii) Parameters: uBack : cImageFile / cResource / hBmpHandle / oBrush / aGradient colors In case of brushes and bitmap handles, the objects are to be destroyed by the calling program at ...
by Antonio Linares
Thu Jul 30, 2009 9:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2009 (9.07)
Replies: 1
Views: 2738

Re: New FTDN June/Junio 2009 (9.06)

... de diálogo y ventanas y es compatible con el redimensionamiento de las ventanas. Nueva sintáxis: oBrw:SetBackGround( <oBrush/cAnyImageFile/cResource/hBitmap/NIL>, <NIL/ 0 / 1 / 2 > ) El segundo parámetro indica el modo de pintado del fondo: 0 : Modo mosáico : Pinta la imagen en ...
by Antonio Linares
Mon Jul 20, 2009 10:55 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2009 (9.06)
Replies: 12
Views: 6297

New FTDN June/Junio 2009 (9.06)

... works well both for dialogs and windows and compatible with resizing the windows. New Syntax: oBrw:SetBackGround( <oBrush/cAnyImageFile/cResource/hBitmap/NIL>, <NIL/ 0 / 1 / 2 > ) Second parameter indicates the background paint mode. 0 : Tiled mode : Paints the image in tiled ...
by Antonio Linares
Sat Jul 11, 2009 5:12 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2009 (9.06)
Replies: 12
Views: 6297

AVI files

... end the name with the number of frames like FILECOPY25 . Then using the following code you can display any animation you want. Function Animate(cResource) local oDlg,lOk DEFINE DIALOG oDlg FROM 10, 20 TO 18, 65 TITLE "Testing Animation" @ 3.5, 2 BUTTON "&Ok" OF oDlg SIZE 35, 12 ACTION ( ...
by Antonio Linares
Wed Aug 27, 2008 7:33 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 64746

... me da el siguiente error: Variable does not exist: SELF el código es similar al tuyo: for z = 1 to len(adetalle) REDEFINE BTNBMP btn[z] RESOURCE cResource((aDetalle[ z,2],aDetalle[ z,5],aDetalle[z,6])) ID (nIda + z) CENTER PROMPT(aDetalle[ z,1]) OF ODLG UPDATE btn[::nid - 100]:baction := {|| ...
by surGom
Fri May 16, 2008 7:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Hacer esto en FIVEWIN??
Replies: 16
Views: 4435

btnbmp

... y el código que implemente fue primero fue el mas o menos fue el siguiente for z = 1 to 50 // cantidad de cheques REDEFINE BTNBMP btn[z] RESOURCE cResource(oCheque) ID (nId +z ) CENTER PROMPT (oCheque:numero) ACTION CAMBIOCH(ocheque) OF ODLG UPDATE oCheque:skip() next // Funcinó bien salvo cuando ...
by surGom
Wed Apr 30, 2008 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: btnbmp
Replies: 1
Views: 528

Return to advanced search