Search found 47 matches: setfile

Return to advanced search

Re: Get...bitmap..action

...                         ;      ON CHANGE( IIF( .NOT. EMPTY( cEmail ),                               ;         aGet[1]:oBtn:SetFile( "..\bitmaps\plus.bmp"),                     ;         aGet[1]:oBtn:SetFile( "..\bitmaps\minus.bmp" ...
by Silvio.Falconi
Mon Nov 29, 2021 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get...bitmap..action
Replies: 7
Views: 609

Get...bitmap..action

... Msginfo("Email")  ;           ON CHANGE  IIF(!Empty(cEMail),;                          (aGet[1]:oBtn:setfile("mail.bmp"),aGet[1]:oBtn:show()),;                          aGet[1]:oBtn:Hide())  ...
by Silvio.Falconi
Sat Nov 27, 2021 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get...bitmap..action
Replies: 7
Views: 609

Re: disable/enable button

... MOSTLEFT round ; action oWnd:End() oBtn36:LoadBitmaps( ".\bitmaps\Exit1.png" ) // normal disabled : oBtn36:Disable() oBtn36:SetFile( ".\bitmaps\Disabled.bmp" ) // gray image it means a extra image is needed. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=22737&p=121478&hilit=image+to+gray#p121478 ...
by ukoenig
Fri Jul 12, 2019 10:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: disable/enable button
Replies: 5
Views: 739

Clausole When not run ok - Resolved!!!

... BITMAP ".\bitmaps\bradio1.bmp" MOSTLEFT SIZE 65, 18 PROMPT "Filtro" ; ACTION ( oSelf:lFilter := ! oSelf:lFilter, ; oSay:SetFile( If( oSelf:lFilter, ".\bitmaps\bradio1.bmp", ".\bitmaps\bradio2.bmp" ) ) ) then I have a get @ 9,592 GET oNum1 VAR oSelf:nNumFrom ...
by Silvio.Falconi
Thu Jul 04, 2019 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clausole When not run ok - Resolved!!!
Replies: 6
Views: 584

Re: tdatabase Filter error

... first record and have the value of the variable nStatus later with this value I can change the image to btnbmp IF nstatus=5 //free aBmps[nY,nX]:SetFile(aElementi[nKE][8]) else // not free aBmps[nY,nX]:SetFile(aElementi[nKE][9]) endif this night I try with cFilter := "trim(TYPE) == '" ...
by Silvio.Falconi
Fri Apr 26, 2019 3:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdatabase Filter error
Replies: 20
Views: 1600

clase VLC para crear un player - algunos problemas

... o la letra eñe por ejemplo. me parece que es un problema del control activex, yq ue tengo lo mismo hecho con vfp y va de lujo. en el metodo SetFile tengo esto ::oControl:playlist:add( "File:///" + cFileName ) que es donde me parece se da el problema. alguna ayuda. la verdad me ...
by carlos vargas
Thu Oct 11, 2018 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: clase VLC para crear un player - algunos problemas
Replies: 15
Views: 3683

RBBTN bitmaps

... RBBTN ::oToolButton ; PROMPT "ToolBar" ; SIZE 70,20 ; BITMAP "TOOLBAR_off" any solution ? i tried also with ::oToolButton:SetFile( "TOOLBAR_ON", "TOOLBAR_OFF" ) on rbtn class there is an error because before on method setfile you can call 2 files with ...
by Silvio.Falconi
Tue Aug 07, 2018 2:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RBBTN bitmaps
Replies: 1
Views: 245

Re: say, checkbox, radio in ribbonbar

... oChk1 GROUP oGr1 BITMAP ".\bitmaps\checkon.bmp" MOSTLEFT SIZE 85, 18 PROMPT "Checkbox" ; ACTION ( lVal1 := ! lVal1, oChk1:SetFile( If( lVal1, ".\bitmaps\checkon.bmp", ".\bitmaps\checkoff.bmp" ) ) ) regards Uwe :D
by ukoenig
Wed Feb 15, 2017 1:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: say, checkbox, radio in ribbonbar
Replies: 4
Views: 1096

Re: change or put an image

René,

> the number of photo's I have from that plant

if you know such number in advance then you can do:

{ oImage1, ..., oImage15 }[ nNewPhoto ]:SetFile( cFileName )
by Antonio Linares
Fri Oct 21, 2016 7:49 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: change or put an image
Replies: 13
Views: 4834

Re: change or put an image

Please use the message SetFile() instead of SetImage()
by Antonio Linares
Wed Oct 19, 2016 6:06 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: change or put an image
Replies: 13
Views: 4834

Re: A problem TFOLDEREX tab-images from resource ?

... "Child5" ; ... ... // change to DLL to load the images SET RESOURCES TO c_path + "SYSTEM.dll" // select DLL oBtn[1]:SetFile( "EXIT" ) // set button-image oBitmap:SetBMP( "IMAGE1" ) // set Image oBitmap:Refresh() aBitmaps1 := { "BOOKS",; ...
by ukoenig
Tue Jul 19, 2016 11:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Painting Tab-images from res. RC and DLL TFOLDEREX (solved)
Replies: 19
Views: 5600

A solution for BTNBMP using animated GIF's

... possible to display a animated GIF inside BTNBMP ? I can use a TRANSPARENT button and split the animated GIF to it single images Next using oBtn:SetFile(Frame&No.gif ) inside a loop on buttonclick but I need up to 20 single images. Next to perform the ACTION during the GIF is running. Maybe ...
by ukoenig
Mon Jun 20, 2016 10:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A solution for BTNBMP using animated GIF's
Replies: 10
Views: 1948

Listview class

... Local nfile:= 0 Local cFile:= "" If len(oList:aItems)<>0 nfile:= oList:nOption IF nFile >0 cFile:= oList:aItems[nFile]:cText Setfile(cFile,.f.) Endif Endif return nil Setfile(cFile,.f.) is my function to show Preview Handler on Image control but the problem is : when I save ...
by Silvio.Falconi
Sat Jan 16, 2016 10:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview class
Replies: 0
Views: 279

Re: Force No Transparency on a BTNBMP

... = { "Show" + CRLF + "Export-image","SHOW", 1, CLR_BLACK, 14089979 } oSBtn[6]:SetColor( 0, ) oSBtn[6]:SetFile( c_path1 + "Eye1.Bmp", c_path1 + "Eye1.Bmp" ) METHOD Paint() CLASS TBtnBmp from line 1150 if ! Empty( hBmp )    ...
by ukoenig
Thu May 08, 2014 9:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force No Transparency on a BTNBMP
Replies: 5
Views: 1251

Re: Force No Transparency on a BTNBMP

... 1, CLR_BLACK, 14089979 } oSBtn[6]:SetColor( 0, ) Only one line needed, to change the BMP : Transparent !!! oSBtn[6]:SetFile( c_path1 + "Eye.Bmp", c_path1 + "Eye.Bmp" ) NON TRANSPARENT !!!. I added a border with PIXELFORMER oSBtn[6]:SetFile( c_path1 ...
by ukoenig
Tue May 06, 2014 8:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force No Transparency on a BTNBMP
Replies: 5
Views: 1251
Next

Return to advanced search