0

I'm trying to put the whole program into a loop and I'm not shure where to place it. I have lots of diffrent windows that have to be updated. I have tried adding it into the function that starts the program but it just gets stuck in a loop and doesn't update anything else. Any ideas? I'm know how to use loops without a gui. I guess I just don't know where to put it.

2
Contributors
4
Replies
6
Views
14 Years
Discussion Span
Last Post by gick01
0

I think we need a bit more specifics. Is there a redraw function by any chance? Are you using QT? Why doesn't putting main() code into a loop work? You mean it doesn't redraw child windows?

0

I'm new with working with the GUI so bare with me. I just have one window with a couple of inputs and its suppose to give me outputs based on time. I just need all the void functions to run in a loop until I close the window. Thanks for the reply

0

I don't understand why just putting that code into a loop doesn't work. Do you think maybe you could copy/paste some of your code here so we can see what's going on exactly?

0

let me change some things and I will submit the code again.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.