FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Test2007.prg - button bar with MDI window
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Test2007.prg - button bar with MDI window
Posted: Tue Nov 06, 2007 05:29 PM
Change the main widow in Test2007.prg as MDI window. Now right click on button bar and choose Left. The bar is moved to left vertically and looks good. Then again right click and choose Right. Now the button bar is painted broken like this :



Then if we resize the window, the bar gets painted correctly.

This happens only when the window is MDI and bar is moved from Left to Right or Right to Left. After this resize of window repaints the bar correctly.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Test2007.prg - button bar with MDI window
Posted: Thu Nov 08, 2007 04:43 PM

Mr Antonio

Did you find a fix for this problem please?

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Test2007.prg - button bar with MDI window
Posted: Thu Nov 08, 2007 06:32 PM

NageswaraRao,

In Class TBar Methods GoLeft() and GoRight() add this line before final endif:

  ::Refresh()

endif

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion