Test2007.prg - button bar with MDI window

Post Reply
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Test2007.prg - button bar with MDI window

Post 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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

Mr Antonio

Did you find a fix for this problem please?
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

NageswaraRao,

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

::Refresh()
endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply