How to "Clean" a Window from a destroyed Object ?

How to "Clean" a Window from a destroyed Object ?

Postby ukoenig » Thu Aug 20, 2009 11:11 am

Hello,

I need to clean the Main-Window from a destroyed Ribbonbar.
I tested everything : oWnd:Refresh() .. nothing helps.
The Ribbonbar is inactiv but always something visible.
Without a "cleaned" Window, I cannot do a Repaint with new Values.

The activated Ribbonbar :
Image

After destroy :
Image

Is there a Solution, how to clean the Window ?

Best Regards
Uwe :roll:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: How to "Clean" a Window from a destroyed Object ?

Postby Antonio Linares » Thu Aug 20, 2009 11:29 am

Uwe,

Simply do oRibbonbar:End()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: How to "Clean" a Window from a destroyed Object ?

Postby ukoenig » Thu Aug 20, 2009 12:04 pm

Antonio,

Thank You very much.

oRBar:End() was the Solution.
The Repainting with new Values works perfect now.
With this Solution, I don't have to do any Calculations, to get new Vertical-Positions of the different Ribbonbar-Parts.
I still have to do some Finetuning, but I think at the End of the Week, it will be possible
to have a Download of the first Release, to test and change all Main-Values.

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests