开发者

Firemonkey version of VirtualTreeView

Does anyone happen to know if there is a Firemonkey version of the popular VirtualTreeView in preparation? Also, has anybody collected some experience开发者_运维知识库s with porting custom controls to Firemonkey and can estimate how much work it would be to port the virtual tree view to Firemonkey? We need this control and switching to Firemonkey is only an option if we can get this control to work.

Thanks!


As far as I understand the FireMonkey is so different from the VCL that it would require major rewrite, basically rewriting the control from scratch... had a quick look into google code's SVN, doesn't look like someone has started the port to FM but there is (VCL) packages for XE2.


Alternatives...

FireMonkey does has its own treeview known as FMX.TreeView. Embarcadero documentation about it is quite minimal. It is very primitive compared to VirtualTreeview, but for now it may be all that's available.

If you are using VirtualTreeview as a grid, then you might have to resort to Firemonkey's TGrid or TStringGrid or TDBGrid. The grid implementation is fairly basic. But apparently TDBGrid isn't too bad. Arnaud Bouchez has some screenshots of some Firemonkey Controls and says the TDBGrid content is virtual and gives an example with the screenshot.

It is quite likely 3rd party component builders, e.g. TMS (TAdvStringGrid), Woll2Woll (InfoPower), Berg (NextGrid5), etc., will come out with something. If it looks like VirtualTreeview will not get ported to FireMonkey, there will be an opportunity for one of them to produce an acceptable alternative.


I know that this question have the answer.

But the answer was correct at some point in time.

Now i have minimal port of VirtualTree to Firemonkey. Look at my fork on github https://github.com/livius2/Virtual-TreeView

I work hard on it for how much free time allows. You can imagine how hard it was to start, as VCL and FMX are really different things.


There is a virtual treeview from TMS for FMX. Supports Android.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜