Hello,
below I’ll try to expalin my problem in other words.
I ve got one window in which I’ve got 2 background widgets. In one i have some widgets to controll parameters of ships ine the second i want my map to be drawn every 3 seconds (ship parameters are taken from the database so i have to actualize the situation on the map)
Ok everything works great till the moment in whichi i ckick on any ship controll widget (when i click on a widget in the seckond background).
The te reactangles are beind drawn in the second background not in the one i wanted them to.
I’ve read about prRaw but achieved nothing special.
I achieved drawing background reactangle of my map always in the backgroud1 widget.
Afeter tjhat without initializing ships i wanted to check if my thread warks good. To do that I implemented condition if (x == 1) then ectangle fill color = blue, else rectangle fill color = black.
And in my thread there is sleep (1) at the end.
when i run my application the background glimps gfrom one colour to another only if i move my mouce pointer from the background widget to outside and again in background widget. Otherwise the color is constant, just like thread doesnt want to work.
Pleace tell me what am I doing wrond