Print Page | Close Window

Canīt center picture on a MDI

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14278
Printed Date: 28 April 2024 at 2:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Canīt center picture on a MDI
Posted By: ctamayoa
Subject: Canīt center picture on a MDI
Date Posted: 12 May 2009 at 4:19pm
Hi everybody sorry if my english is not so good, I need your help guys. ?im working with commondbars in my project and I'm algo using the ribbon bar but I wanna put a picture box on my mdi in order to center my company logo like background in my MDI but I cannot , I guess because I'm using themes from .dll files, but how can I sove this ?? I read this solution in order to put my picture box on a MDI :

Private Sub CommandBars_RepositionAlignedControls(Left As Long, Top As Long, Right As Long, Bottom As Long)
      CommandBars.MoveAlignedControl Picture1, Left, Top, Right, Bottom
End Sub

But the problem is that I can't adjust the picture1 to all my MDI form.

Sorry If I couldn't write very well  but just I know a little bit english.

Thanks


-------------
Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net