![]() |
[QUESTION] How can I... |
Post Reply
|
| Author | |
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Topic: [QUESTION] How can I...Posted: 08 April 2008 at 9:19am |
|
Hi,
I have a few questions regarding the ReportControl. I'm really new with it so any help would be appreciated. I listed all questions here otherwise I had to do 6 posts. It will be easier this way. The first 2 are sorting related and the other 4 are visual issues. Maybe the approach of sorting is totally wrong so any advice in this will be received with First, I want to use the ReportControl for selecting files from a directory. The contents of the directory will be shown to the user. Now I want to sort the files on year and month, The year is not the problem because the string will be always 4 chars. But....
Is it possible to have skinned Tree Expand/Collapse buttons?
Is it possible to have skinned checkboxes?
Is it possible to have skinned buttons for the GroupBox buttons? Not the Office2007 style. I want to use my own button style. I know CodeJock does the same with the OfficeStyle so it should be possible. 6:
Is it possible to have skinned buttons for the FieldChooser? Any advice,answers or solutions here? If you know just 1 out of six just let me know. Thank you very much 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.... |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 7:59am |
|
Hi,
I did manage to upload an image:
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 12:35pm |
|
Hi,
Afraid its too late for all these features in 12.0 release. Send to support@codejock.com as featurelist for 12.1.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
nighthawk
Senior Member
Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 2:29pm |
|
For your sorting, there are properties called SortPriority and GroupPriority which allow you to assign a number value to each row and the number (not the value or caption) will determine the sort. Just convert the date to an integer value and store it in the priority field.
|
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2008 at 6:52am |
|
Hi,
Thank you very much for your reply.
It's unbelievable, with just one line of code I have the sort I want. But...
The SortPriority is clear to me. The value assigned to it will sort the rows from 0 to ...... whatever value. I don't see what the GroupPriority does exactly.
In a loop the values of year, month and day are assigned to SortPriority, right? Clicking a column header will sort the rows as I wish. Now, I also want to sort the columns by dragging the columns to the GroupboxHeader and still have the sorting I want by clicking the field (see 5 in the image above).
Will GroupPriority take care of this?
|
|
![]() |
|
nighthawk
Senior Member
Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 April 2008 at 6:26pm |
|
GroupPriority should take care of your issue number 1. Just do something like:
Set Item = Record.AddItem("January") Item.GroupCaption = "January" Item.GroupPriority = 1 ... Set Item = Record.AddItem("February") Item.GroupCaption = "February" Item.GroupPriority = 2 This will cause the individual month groupings to sort based on the GroupPriority value. |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 April 2008 at 1:09am |
|
Hi,
Thanks for the reply
![]() I allready have sorting in all columns. And I didn't use GroupPriority at all, only SortPriority in all items.
What extra sorting functionality would add GroupPriority?
|
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2008 at 1:32pm |
|
Hi,
I wish there would be someone who has an answer with the last issue.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2008 at 2:41pm |
|
Hi,
Sometimes you need set Captions for Groups and Group Priority.
For example to groop to "Today, "Yestarday, Last Week"
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2008 at 2:42pm |
|
ps. You have Januari instead of January in screenshot :0)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2008 at 4:19pm |
hahaha, yes I see. it's my Dutch array of months. But look at your sentence
![]() Its Group and not groop
![]() Its Yesterday and not Yestarday
![]() I don't get it yet. Do you have an example?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 April 2008 at 1:45am |
|
Just try to set groups's captions to "Today", "Yesterday" and "Last week" you will see that "Last week" appear before "Today". to change this order you need GroupPriority. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2008 at 7:28am |
|
Hi,
I see, but in my case it wasn't necessary to do so, I had my SortPriority set to a value (in my case month: 0,1,2,3,4 etc...) and it sorts nicely
![]() 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.... |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 February 2010 at 10:11am |
Hi,
Just doing another attempt do get the skinning of Groupbuttons, Expand/Collapse signs and Inplacebuttons into the ReportControl. Would be a nice feature though
![]() 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.... |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |