Listview Bug and Feature |
Post Reply |
Author | |
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
Posted: 03 August 2011 at 8:33am |
Hi,
We started to move to the CJ controls, and when we reach to the ListView, we found two things: 1) BUG: the listview keeps flickering when updates fast, I mean, we have a list view that show Forex Market Watch, and the prices are moving rapidly, in this case, the list view keeps flickering and show as unstable behavior. 2) Missing Feature: The ListViewItem don't have the height property, which is very important for our case, where we develop a way to move a listitem from place to place using the OLEDragDrop, and the calculation need the ListViewItem.Height, and this property can't be found.. Please update. Thanks.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
dentor
Senior Member Joined: 30 November 2005 Location: France Status: Offline Points: 102 |
Post Options
Thanks(0)
|
Hello,
Perhaps you can use .LockRedraw property to avoid flickering.
Others missing events for ListView Control: OLEDragDrop, OLEDragOver to drag drop files onto the control.
Thanks if you can add them.
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP 6 |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Well, LockRedraw will LOCK the redraw of the component, which means I will not see any updates on the components!
It must not be used in anyway.. Thanks for your help anyway, I hope that we can find a solution for this case.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
dentor
Senior Member Joined: 30 November 2005 Location: France Status: Offline Points: 102 |
Post Options
Thanks(0)
|
Well, before modifying the ListView with a lot of new lines which can flicker the control, you set :
.LockRedraw=True
add the new lines
.LockRedraw=False
The Control is refreshing only one time.
Of course, the property is always set to False at the end.
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP 6 |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Adding the lines is not the case, the case that it keeps flickering while refreshing the prices in the market watch (list view), since there is a lot of prices, the listview will be shown as flickering, while the original one was not like this.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
I tried to LockRedraw the listview before start the update and then unlock it, but it is the same results, the listview is flickering too much..
Any help?
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
dentor, those events is there in the 15.0.1 version, I can use them normally...
try to update your CodeJock version so you will get them Regards,
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
I normally don't recommend using the LockWindowUpdate Api, but you could try that one as a workaround.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Hi Willowmaster,
thanks for your link, i think that this is similar to LockRedraw Property in the ListView control by CJ, but i give it a try with no use too,, it is flickering tooo much when updating it many times, while the original listview by MS is not doing this.. and this is not acceptable to be published in our application. Is there any solution for this? or maybe to update the CodeJock Controls to the latest version? I hope that some one of the staff reply to this. Regards.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Hi,
Is there any update here :) can any one help on this. thanks
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Please send email to support with sample that show that "unstable behavior." thanks.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Hi Oleg,
Thanks for the reply. I will prepare a sample of code to replicate this case. will send it to support soon. Thanks.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
Can you post the sample here too? I'm curious of what you meant exactly.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Hi,
You can download the Listview sample from this link: http://www.hybrid-solutions.com/lvwflicker.zip After deep investigation, it seems that coloring the ListSubItem in the Codejock listview causing this flickering, because while I was making the sample, i was doing it step by step to know where the leak is... and I found that the flicker start just after I changed the forecolor of the listsubitems. The sample contain both MS Listview and CJ Listview, press on the button on the top to change the sample... Notice the First Column (Name), where the name will flicker in CJ LVW and not in MS LVW. (Make sure you have CJ 15.0.1). Thank in advance. P.S.: Email sent to support@codejock.com too)
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Plus, is there any update regarding the Height for the ListViewItem?
Since I can't rearrange the listitems using the OLEDragDrop now, since we use the ListItem.Height in order to know where we drop the item.. Thanks
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
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 |