... 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 ...
... 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 ...
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 ...
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 ...
... 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.
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()
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" ...