Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - SOLVED: Need virtualmode sample with DataFlex 2008
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Need virtualmode sample with DataFlex 2008

 Post Reply Post Reply
Author
Message
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Need virtualmode sample with DataFlex 2008
    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)
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
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....
Back to Top
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
 
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....
Back to Top
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post 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.
 
 
Regards
 
 
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)
Back to Top
AndreiM View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 18 August 2007
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreiM Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2008 at 6:58am
Hi,
I have converted our VB sample to VB.NET (open project using VC 2003).
 
Back to Top
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
AndreiM View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 18 August 2007
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreiM Quote  Post ReplyReply Direct Link To This Post 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 :).
 
Back to Top
AndreiM View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 18 August 2007
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreiM Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2008 at 9:54am
Hi,
I have improve our VB.NET Report sample:uploads/20080822_095308_VirtualList.NET.zip
 
Now it works fast for big records amount in Tree mode.
Back to Top
RJungmann View Drop Down
Groupie
Groupie


Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJungmann Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2008 at 12:55pm
Originally posted by RJungmann 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....
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.174 seconds.