Wrox Programmer Forums
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 22nd, 2003, 08:25 PM
Registered User
Join Date: Sep 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Center BrowseFolder form

I am using the 'BrowseFolder' API function to display a pop up form that allows users to select a new drive & path. There are many examples of how to use this BrowseFolder function. My code currently works fine with the functionality of this function.

My question is: "How can you centre this form, in relation to either the parent form, or the form that has the [Browse] button, or to the screen object?

I don't fully understand all the parameters of the BROWSEINFO object. Can any of the objects (such as lpfn) be set that would allow centering of the form once opened?

Does anybody know how to CENTRE the 'Browse for Folder' form?


Michael Daly
23 Sept 2003

Similar Threads
Thread Thread Starter Forum Replies Last Post
Center Text within Label testsubject Visual Studio 2005 5 October 15th, 2011 12:59 PM
Center Text In ComboBox wb8bgy Visual Basic 2005 Basics 3 March 2nd, 2007 09:06 AM
Center two column layout nloding CSS Cascading Style Sheets 1 June 21st, 2006 12:11 PM
align="center" in CSS crmpicco CSS Cascading Style Sheets 5 February 21st, 2006 09:31 AM
align Center melvik C# 1 September 7th, 2003 04:50 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.