Page 1 of 1

Test2007.prg - button bar with MDI window

Posted: Tue Nov 06, 2007 5:29 pm
by nageswaragunupudi
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 :

Image

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.

Posted: Thu Nov 08, 2007 4:43 pm
by nageswaragunupudi
Mr Antonio

Did you find a fix for this problem please?

Posted: Thu Nov 08, 2007 6:32 pm
by Antonio Linares
NageswaraRao,

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

::Refresh()
endif