FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to "Clean" a Window from a destroyed Object ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
How to "Clean" a Window from a destroyed Object ?
Posted: 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 :


After destroy :


Is there a Solution, how to clean the Window ?

Best Regards
Uwe :-)
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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to "Clean" a Window from a destroyed Object ?
Posted: Thu Aug 20, 2009 11:29 AM

Uwe,

Simply do oRibbonbar:End()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: How to "Clean" a Window from a destroyed Object ?
Posted: 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.

Continue the discussion