Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Urgent : Select All Of The Rows of Selected ...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Urgent : Select All Of The Rows of Selected ...

 Post Reply Post Reply
Author
Message
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Topic: Urgent : Select All Of The Rows of Selected ...
    Posted: 16 December 2008 at 4:45am
Hi all

Thank's code jock for this forum & Good users for answer my question

Please help me for how select all of the rows of selected Grouprow.

Plz answer my question quickly beacuse hurry for this problem:D

Thank's



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: 17 December 2008 at 3:59am
Hi,
 
Just loop through rows and check if GroupRow = true and select all childs in SelectionChanged event
 
 
Private Sub wndReportControl_SelectionChanged()
   
    Dim selRow As XtremeReportControl.ReportRow
    Dim childRow As XtremeReportControl.ReportRow
   
    For Each selRow In wndReportControl.Rows
        If selRow.GroupRow Then
            For Each childRow In selRow.Childs
                childRow.Selected = selRow.Selected
            Next
        End If
    Next
End Sub
 
 
If you want to de-select just hold CTRL key and grouprow will be de-selected.
 
 
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
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 4:53am
Thank's Aaron

very usefull
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: 17 December 2008 at 10:16am
Hi,
 
It would look nicer if you would create Markup buttons for this and make them visible when selecting the grouprow. My markup knowlegde sucks (still ) but maybe Jason (jpBro) will help you with this. Compared to my knowlegde he has a "black belt" (mine is still white hehehe). It would be nice to know if this could be done anyway (How to handle button clicks inside RC). So, lets find out from the master himself
 
btw @Mozaheb, could you add SOLVED to your topic descriptions if you are satisfied with solution? Thanks in advance
 
 
 
 
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
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 11:08am
Well, I thought I'd take up your challenge, but I haven't had much luck so far...Using the CJ ReportSample, I've tried using:


Me.wndReportControl.EnableMarkup = True


and then setting group text (in the BeforeDrawRow event), regular row text (just at startup), and even column captions to Markup strings, but the markup never seems to get rendered.

I'm new to markup and the ReportControl, so does anyone have a working sample or explanation of what elements can use markup on the ReportControl?
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

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: 17 December 2008 at 11:45am
Hi Jason
 
Thanks for replying  You have to use V12.1.0 for now (do not use V12.1.1 because of BUG, see my other post)
 
 
Thanks a lot in advance
 
 
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
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 1:09pm
Ah yes, I see that now...Unfortunately, I have a bad feeling that adding a button to a group row using Markup isn't going to work with the ReportControl right now. It seems that the buttons don't respond to hover/click (the whole row does though), and I can't figure out a way to link an event to a markup button (as when using the MarkupLabel). Maybe someone from CJ can confirm/deny this?
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

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

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2009 at 3:43pm
Well I've been away for a while, busy with actual work :) I hope I haven't missed too much!
For what I am trying to accomplish, the problem with buttons in ReportControl markup not responding to hover/click is becoming a serious issue. Are there any plans to get markup buttons working for the ReportControl soon (e.g. 13.1)? Even better, how about support for the MarkupContext object for every ReportRecordItem object?

Basically, I need to be able to create something like this:




Where the ReportControl has 2 columns. The first shows the Preview (left hand portion) and Open & Remove buttons. The second column shows the file details (filename, type, etc...), including an Edit button for Comments. I have no problem generating and displaying this markup, but the buttons are unclickable.

The reason that I wanted to use a ReportControl for this task is that I also need OLE Drag & Drop and the ReportControl handles this nicely (including scrolling and showing a red insertion point while dragging).

So is this something that will be possible soon, or am I just doing something wrong and it is possible now?

Thanks in advance.

Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

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

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2009 at 4:31pm
I've just noticed that the ScrollViewer doesn't respond to the mouse either, so I'm assuming the ReportControl markup is basically just using an image capture of some underlying rendered markup. Maybe it would just be easier for CJ to add the OLE Drag & Drop events to the MarkupLabel control, and I could create my own mouse tracking to draw insert points?
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

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.219 seconds.