![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Dialog box redraw issues Topic Summary: Does anyone know of a way to force fields and text boxes to redraw Created On: 8-Jul-2008 22:39 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I've noticed that rich text dialog boxes do redraw during function execution, but other dialog box elements do not update until the callback function has completed (see attached code for demonstration). Does anyone know of a way to force text boxes and fields to redraw (or the entire dialog box)?
Edited: 8-Jul-2008 at 22:40 by Andrew Wallen |
|
![]() |
|
![]() |
|
Interesting issue. I tried everything I could think of.... hide/show DBEs, re-size/re-position the DB, hide/show the DB, setFocus to each DBE, move the sleep_ and set()'s to their own functions, etc., etc., but nothing seemed to work. Putting an 'ack' before or after the sleep_ will force the fields to refresh, but kind of defeats the purpose.
|
|
![]() |
|
![]() |
|
Following your lead I played around a little bit to try to find something similar to an ack box that might trigger the desired behavior. I found that it will refresh if you display another DB using Block and then immediately release that DB using a timer.
The speed impact is pretty dramatic; doing some tests it looks like it takes about .24 seconds for a refresh (which if I recall is basically the minimum timer resolution). I'll have to play with it a bit more to see if I can hide the fake db more and make the busy cursor maintain it's correct state, but the good news is I can now force an update when I absolutely need to. Edited: 10-Jul-2008 at 15:21 by Andrew Wallen |
|
![]() |
|
![]() |
|
Hi Andrew,
I have had some luck using the progressBar functions to refresh all of the DOORs windows (not just the one that the progress bar is over). just add a progressStart followed by a progressStop on the next line. Saves you having to create a new DB. Paul |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Dialog box redraw issues
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.