SOLVED: Need virtualmode sample with DataFlex 2008
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=11674
Printed Date: 08 October 2024 at 6:38am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: SOLVED: Need virtualmode sample with DataFlex 2008
Posted By: RJungmann
Subject: SOLVED: Need virtualmode sample with DataFlex 2008
Date Posted: 31 July 2008 at 5:49am
Hi,
I want to use treeview style reportcontrol while using the virtual mode. How can records be added?
I think, I have to do this in the BeforeDrawRow message?
Does anybody have example code for this?
Regards
------------- Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Languages: Visual DataFlex 2008 (VDF 14.0), VB.Net 2008 (Express)
|
Replies:
Posted By: Aaron
Date Posted: 31 July 2008 at 7:31am
Hi,
There's a sample with RC in virtualmode that comes with CJ samples.
------------- Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Zero replies is not an option....
|
Posted By: RJungmann
Date Posted: 31 July 2008 at 7:47am
But not virtualmode and treeview in combination.
I want to add records in virtual mode and add subrecords (subrows) to these in BeforeDrawRow. In the examples, I can't find it
Maybe I'm blind...
Regards
|
Posted By: Aaron
Date Posted: 31 July 2008 at 8:04am
Hi,
Check:
C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v12.0.1\Samples\ReportControl\VB\VirtualList
Open project, run it and check TreeSample in MainMenu > Report Control
If your issue is solved, please add SOLVED in your Topic description and have a look at post http://forum.codejock.com/forum_posts.asp?TID=11225 - http://forum.codejock.com/forum_posts.asp?TID=11225
------------- Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Zero replies is not an option....
|
Posted By: RJungmann
Date Posted: 31 July 2008 at 8:36am
Hi,
I don't have VB or C# on my computer. And the compiled examples from codejock don't have what I need.
Regards
|
Posted By: Aaron
Date Posted: 31 July 2008 at 9:29am
Hi,
THE reason to take a look at post http://forum.codejock.com/forum_posts.asp?TID=11225 - http://forum.codejock.com/forum_posts.asp?TID=11225
After three replies I know you're not a VB user. Take a look first and enter your info in signature. So next time other members know what to expect and (maybe) come up with a solution, you can't use because you are using a different language.
Thanks
------------- Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Zero replies is not an option....
|
Posted By: RJungmann
Date Posted: 31 July 2008 at 9:53am
Ok,
I did'nt realize that.
------------- Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Languages: Visual DataFlex 2008 (VDF 14.0), VB.Net 2008 (Express)
|
Posted By: Aaron
Date Posted: 31 July 2008 at 10:01am
Hi,
Thanks, now everyone knows
You can edit your topic description and change it into:
URGENT: Need virtualmode sample with DataFlex 2008
and I'm sure a support member will respond
------------- Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Zero replies is not an option....
|
Posted By: RJungmann
Date Posted: 04 August 2008 at 3:12am
Hi,
Visual DataFlex isn't such populate as Dot.Net. In Meantime, I installed VB.Net 2008 express and checked the samples. But there isn't, what I need.
VB.Net (or C#)-samples are also welcome.
René
------------- Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Languages: Visual DataFlex 2008 (VDF 14.0), VB.Net 2008 (Express)
|
Posted By: AndreiM
Date Posted: 11 August 2008 at 6:58am
Hi,
I have converted our VB sample to VB.NET (open project using VC 2003).
Take it: https://forum.codejock.com/uploads/20080811_065516_VirtualList.NET.zip - uploads/20080811_065516_VirtualList.NET.zip
------------- Regards,
Andrei Melnik
|
Posted By: RJungmann
Date Posted: 18 August 2008 at 3:43am
Hi, thanks for it. First, it didn't work, but now I have realzied, that I need 12.x!
Regards
Rene
------------- Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Languages: Visual DataFlex 2008 (VDF 14.0), VB.Net 2008 (Express)
|
Posted By: RJungmann
Date Posted: 18 August 2008 at 12:00pm
Hi,
now I tested it with quite a lot of rows (5000 rows with 2 childrows = 15000 rows). The performance is terrible. After some hundred rows the navigation becomes extrem slow. I need to view 10000-20000 rows and every row has 1-5 childrecords.
Regards
------------- Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Languages: Visual DataFlex 2008 (VDF 14.0), VB.Net 2008 (Express)
|
Posted By: AndreiM
Date Posted: 21 August 2008 at 4:46pm
Hi,
the problem is in not optimal implementation of BeforeDrawRow.
There is
Do
....
Loop
code which has many iterations and this is critical for big amount of records.
I will write more optimal code (you may try to do this yourself :).
------------- Regards,
Andrei Melnik
|
Posted By: AndreiM
Date Posted: 22 August 2008 at 9:54am
Hi,
I have improve our VB.NET Report sample: https://forum.codejock.com/uploads/20080822_095308_VirtualList.NET.zip - uploads/20080822_095308_VirtualList.NET.zip
Now it works fast for big records amount in Tree mode.
------------- Regards,
Andrei Melnik
|
Posted By: RJungmann
Date Posted: 22 August 2008 at 11:15am
Hi,
great. It works fine now. Thank you.
How can I change the topic (adding SOLVED)?
Regards
------------- Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Languages: Visual DataFlex 2008 (VDF 14.0), VB.Net 2008 (Express)
|
Posted By: Aaron
Date Posted: 22 August 2008 at 12:55pm
RJungmann wrote:
Hi,
[...]
How can I change the topic (adding SOLVED)?
[...]
|
Hi,
Just edit your first post. Just change it into:
SOLVED: Need virtualmode sample with DataFlex 2008
and other dataflex users can see that there is one
------------- Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Zero replies is not an option....
|
|