473,503 Members | 3,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User interface Access

Hello,
I want to redesign a pogram I've been writing in Access for several
years now. This time I want the user interface to be more clearly. Eg.
docking forms next to each other, a main menu on the left side (a bit
like the one used in outlook) and so on. Mainly my question is about
the docking of these forms to fit the whole screen. Is my approach the
right one? And so yes, where can I find some useful code or
information to be able to dock these forms.
Many thanks,
--
bebelino
PS I've searched this newsgroup with google but didn't find suitable
answers.
Nov 12 '05 #1
2 2889
Create a module called basSizer. Paste this code into it.

Public Function q_Sizer(q_Right As Integer, q_Down As Integer, q_Width
As Integer, q_Height As Integer)
Const procname = "q_Sizer"
On Error GoTo q_Sizer_Error

DoCmd.MoveSize q_Right, q_Down, q_Width, q_Height
Exit Function

'................................................. ................

q_Sizer_Error:
Msgbox Error$, q_ERROR, procname
Exit Function
End Function
Let's assume you have (2) forms. One form on the left-hand side of the
screen is the menu: Under the Form's Properties box, in the On Load
Event, type:
=q_sizer (0,0,1900,7000). In the form on the right-hand side of the
screen is target form: Under the Form's Properties box, in the On Load
Event, type:
=q_sizer (1900,0,9900,7000). Purpose: sizes a form according to
standard global constants and positions it in place.

Yours,
Pjac
Nov 12 '05 #2
On 11 Sep 2003 11:07:57 -0700, pj**@erols.com (pjac) wrote:

Wow, it's so easy. Seems like a solid and easy base to built on.
Thanks.
--
bebelino
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
10139
by: KemperR | last post by:
Hello Experts outhere, may be someone can tell me whats going wrong with my ADOX trial. I have an Access 2002 database with some tables and queries (views) The code listed below works well up...
3
4111
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
2
1917
by: Dan | last post by:
All, I have a windows form application. The form will host various user controls that will implement an interface so that was new controls can be added later without recompiling the hosting...
3
2782
by: Vivek Sharma | last post by:
Hi, I have created a dropdownlist as a web user control. I am using its multiple instances on the webpage. How do I access the selectedValue of each instance? All the instances have different...
6
2540
by: Earl Teigrob | last post by:
I am writing an application that dynamically loads user controls at run time based on user options. I would like to give my users the ability to build their own user controls and add them to my...
8
4882
by: Mark White | last post by:
Hey everyone I'm having a great deal of problems finding this information through google and yahoo, so I turn to you on this. I have a Windows app running on XP. I am able to caputre the...
1
1724
by: David Hearn | last post by:
I am creating a user control for use on several of my pages. I have some variables that are set on my pages where the user control will be used. I need my user control to automatically be able to...
4
4139
by: Peppie | last post by:
I have a (self proclaimed ) very nice and well designed database that organizes my clients, contacts, projects and documents sent to my clients (including a report generator in MS Word). At...
30
3130
by: Yorian | last post by:
Hey, Although I've been using classes and object for quite a while now I've never actually programmed proper OO code yet. It ofcourse depends on what you call proper OO code. I have been...
0
7064
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7315
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.