Page 1 of 1
Colourfull multiline browse
Posted: Tue May 18, 2010 2:04 pm
by jdsoft
Hello,
I wonder if it is possible to create a multiline browse with multiple fonts / font-sizes in a cell of dcbrowse?
See attached sample, "prijs" is Bold.
If this is not possible, what is the clossesed i can get with express?
Regards,
Jack Duijf
Re: Colourfull multiline browse
Posted: Tue May 18, 2010 5:23 pm
by rdonnay
Jack -
The XbpCellGroup class limits the ability of the XbpBrowse class.
Alaska claims that they have provided ownerdraw capability for XbpBrowse, but they give no samples.
I suspect that if I invest a lot of time going down this road, that I may find a cliff at the end of the road.
I would think that if the ownerdraw capability is useable, they would provide a sample.
I don't know how to improve on this using XbpBrowse.
Possibly a solution could be to create a browse equivalent that uses the DC_XbpPushButtonXP() class with the :static option.
It depends on how much functionality you are looking for.
Roger
Re: Colourfull multiline browse
Posted: Tue May 18, 2010 10:34 pm
by skiman
Hi Jack,
Did you look at xCodeJock? Or do you not want to use it?
Re: Colourfull multiline browse
Posted: Thu May 20, 2010 8:17 am
by jdsoft
Hello,
I have seen the term "codejock" a few times in the NG's.
I have not looked in to this, a already have to many library's.
I am affraid i loose track.....
- Expres++
- Xb2net
- See4Xb
- Fce4xb
- List and label (in the near future)
- Ot4xb
- Zlib
- Pervasive API
- Jazzage (legacy apps only)
Regards,
Jack Duijf
Re: Colourfull multiline browse
Posted: Thu May 20, 2010 12:59 pm
by Auge_Ohr
jdsoft wrote:If this is not possible, what is the clossesed i can get ...
it looks like typical XML Markup.
Ownerdraw XbpColumne ( not XbpBrowse !!! ) Class with :customDrawCell are very slow.
so you realy should think about Codejock XML Markup
Re: Colourfull multiline browse
Posted: Thu May 20, 2010 11:10 pm
by c-tec
Hello,
have contacted Simon from Xoanon, his browser is able to do this, and it seems that he is using only the winapi. So it must be possible. Xoanon comes with sourcecode. He has a lot of other interesting things regarding graphics in his lib, so working together could maybe be very interessting.
regards
Rudolf