Search found 39 matches: bstrimage

Return to advanced search

Re: more than 1 bmp on a xbrowse column

Second way is to use
1. bBmpData (left or right align)
2. bStrImage (any position)
3. Text any position

Lastly, paint the column on our own using either oBrw:bPaintRow or oCol:bPaintText
I will provide a sample if required
by nageswaragunupudi
Wed Mar 22, 2023 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: more than 1 bmp on a xbrowse column
Replies: 6
Views: 583

Re: Fighting Xbrowse and lozing !!!

... 12 times. That supprices me since I could think that moving left and right would only trigger a function after a oBrw:bChange is called. now the bStrImage inside the xbrowse is called also every movement of cursor. There will be a reason for this..... but maybe we can consider a logical Var that ...
by Marc Venken
Fri Dec 30, 2022 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 2578

Re: Fighting Xbrowse and lozing !!!

... and some more samples (but finding them..) Also in the code above, in the loop for i 1 to 12 this loop is executed every time and when there is a bstrimage : getorgfoto... this is also executed, so I get a lot of code that is processed. This technique I use is wrong, so this is what I need to ...
by Marc Venken
Thu Dec 22, 2022 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 2578

Re: Fighting Xbrowse and lozing !!!

This one is at least one of the big problems.

in the loop

for i = 1 to 12

:bStrImage := { || getorgfoto(webshop->&cPic) }
...
next

Looking for why
by Marc Venken
Sat Dec 17, 2022 5:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 2578

load a image into xbrowse

cDirImages := "bitmaps\simboli" WITH OBJECT oApp:oGrid WITH OBJECT oApp():oGrid:aCols[6] :bStrImage := { || FIELD->E1 } :aImgRect := { nil, nil, -40, nil } END but FIELD->E1 is a number and I have n that folder images name as 1.png,2.png.... Hiow I can load ...
by Silvio.Falconi
Thu Mar 10, 2022 12:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load a image into xbrowse
Replies: 4
Views: 557

Re: XBrowse: how to load image data instead of image name

I discovered that I can use bStrImage for both image name file and image binary data! :-)

EMG
by Enrico Maria Giordano
Mon Nov 02, 2020 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: how to load image data instead of image name
Replies: 17
Views: 1970

Re: XBrowse: how to load image data instead of image name

Thank you Rao, but I can't use the command syntax. How can I assign the binary data to the column?

oBrw:bStrImage = ???

or what?

EMG
by Enrico Maria Giordano
Sat Oct 31, 2020 2:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: how to load image data instead of image name
Replies: 17
Views: 1970

XBrowse: how to load image data instead of image name

I know that we can use bStrImage to display images on an XBrowse column. But it requires a file to work (if I understood correctly). Is there a way to load image data read from a database and display it in the browse without creating ...
by Enrico Maria Giordano
Fri Oct 30, 2020 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: how to load image data instead of image name
Replies: 17
Views: 1970

Re: Which C compiler and which Harbour should be used for FW?

... not used in function '_BROWSEICONES' I think because I use the / w2 parameter, which is a very severe build. So I changed it to: oBrw:aCols[ 1 ]:bStrImage := {|x, oBrw| x := 0, oBrw:aRow[ 1 ] } That it is ok, no warnings. Thank you.
by Eroni
Mon Sep 07, 2020 1:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Which C compiler and which Harbour should be used for FW?
Replies: 27
Views: 4458

Re: Which C compiler and which Harbour should be used for FW?

Change this:

oBrw:aCols[ 2 ]:bStrImage := {|, oBrw| oBrw:aRow[ 2 ] }

into this:

oBrw:aCols[ 2 ]:bStrImage := {|x, oBrw| oBrw:aRow[ 2 ] }
by Antonio Linares
Sat Sep 05, 2020 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Which C compiler and which Harbour should be used for FW?
Replies: 27
Views: 4458

Re: XBrowse - adding cellimages from DBF or array

... the cellarea but doesn't keep the aspect ratio http://www.pflegeplus.com/IMAGES/XbrwImage2.jpg WITH OBJECT oBrw:aCols[ 5 ] // :bStrImage := { || c_path1 + ALLTRIM(oCust:Image) } // :nDataStrAlign := AL_CENTER + AL_BOTTOM // :nDataBmpAlign := AL_CENTER // My solution :bPaintText ...
by ukoenig
Wed Mar 13, 2019 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse - adding cellimages from DBF or array
Replies: 2
Views: 771

error with xbrowse

... WITH OBJECT oBrw1 :nRowHeight := 30 WITH OBJECT oBrw1:aCols[ 1] :lBmpStretch := .F. :lBmpTransparent := .T. :nwidth := 40 :bStrImage := {|| oServiziSingoli:IMAGE } END end oBrw1:CreateFromCode() oBrw1:cAlias := oServiziSingoli:cAlias the error Error description: Error BASE/1132 ...
by Silvio.Falconi
Wed Dec 26, 2018 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error with xbrowse
Replies: 4
Views: 1131

Re: To Nages searching on xbrowse

1) Can you provide link to my original sample? I would have never used bStrImage here.

2) Gets and Incremental seeks are mutually exclusive. If you want to use Get, then let the user enter the value in the Get first. After her enters you SEEK the vaue and then set oBrw:BoookMark := RECNO()
by nageswaragunupudi
Mon Aug 27, 2018 5:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages searching on xbrowse
Replies: 11
Views: 2983

Re: move data between xbrowse files

You mean this part ? WITH OBJECT:colpic :bStrImage := { || "r:\pictures\"+alltrim(ATT->colpic) } :oDataFont := oFontS :nDataStrAlign := AL_CENTER + AL_BOTTOM :nDataBmpAlign := AL_CENTER :aImgRect := { nil, nil, -10, nil } END Yes. ...
by nageswaragunupudi
Sun Jul 08, 2018 12:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: move data between xbrowse files
Replies: 8
Views: 1287

Re: Problem with xbrowse

Mr Rao I not saw your message and on lunch I tried with :bStrImage := {|| oBrowse:aArrayData[ oBrowse:narrayat][1] } and for the problem of the get ( it lose the value initial) on the get I insert aGet[4]:assign() and run all with :cEditPicture := "F" ...
by Silvio.Falconi
Thu Jul 05, 2018 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xbrowse
Replies: 6
Views: 1477
Next

Return to advanced search