Viktor Szakáts wrote:
I was thinking that's intentional, in the early days it displayed
proper tree lines, and after an update it has changed to the current
colored style. Looks indeed a bit strange though.
Yes, this behavior is intentional. I am expermenting with
CSS compatible style sheets. If you comment out
line #187 ( ::setStyle ) of XbpTreeView.prg, you will receive
old behavior.
Note that copy.png is rendered perfect in both cases.
Thanks for confirming. I had no .png display problems on
my systems. Anyhow I modified code to use dynamically formed
absolute paths to access external files. The path is formed
using hb_DirBase(). I'd recommend sticking to this method
in the future as this is the only sure way to ensure these
file will be properly picked in case f.e. the demo app is
run from a different dir than the executable and its file
are residing (and at the same time not using any hardcoded
paths.).
(f.e.: > contrib/hbxbp/tests/demoxbp.exe)
[ In case of demoxbp, it crashed in above case. ]
Using files from current dir (IOW with relative or no path)
may cause lots of kinds of bad side effects. Hardcoded
absolute path will make the app dependent on its location,
so it's also no good.
I'll commit some fix to prev modif regarding test.dbf access,
I've left out hb_dirbase().
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour