Populate() performance |
Post Reply |
Author | |
Bart6
Groupie Joined: 22 March 2009 Location: Belgium Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 23 April 2009 at 2:54am |
Hi all,
My ReportControl contains the scene nodes of a 3D scene. Each node display the main value of each scene node, such as translation, rotation etc. When i move an opbject on the screen (using the mouse), i would like to update the ReportControl with the new translation coordinates at the same time as the scene node moves. I change the value of an existing record, by accessing the RecordItem and setting the new value. Then i call the Populate() method. The value is indeed update, but the dragging the scene node has become sluggish.... So here is the question: what is the *fastest* way to update a record/row on the screen. (Populate seems to repopulate the entire reportControl from scratch, i bit heavy to alter just 1 value) Thanks |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Use virtual mode! (See VirtualList sample)
|
|
PokerMemento - http://www.pokermemento.com/
|
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
BeginUpdate()
pRecord->pField->SetValue(...) EndUpdate() |
|
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 |