Solved

Perplexing Height Properties

Posted on 2000-04-28
5
118 Views
Last Modified: 2010-05-02
Hi,
First, I only have 10 points. If you can help me fix this they are yours.

I have a multiform project. The height properties on most forms can be set at 300(eg.,command button), but a few of the forms have eg.,command.height = 5837.266. Both are the same actual height. I took over the project from the another programmer, and I cannot seem to figure out where this option(to revert all height to the same variable). Please help.

diek
0
Comment
Question by:diek_nf
  • 3
  • 2
5 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2759671
Take a look at the ScaleMode property of the forms.  Most likely the form with the Command.Height = 300 is Pixels and the form with Command.Height = 5837 is in Twips ScaleMode.
0
 
LVL 32

Accepted Solution

by:
Erick37 earned 10 total points
ID: 2759684
Actually, the form with the large Command.Height may be using a User defined ScaleMode.
0
 

Author Comment

by:diek_nf
ID: 2759773
Erick,
Perfect that was exactly it. Do you have any recommendations on using twip or pixel? If you do not it is okay. Thank you.

diek
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2760002
Twips is the default scalemode.  The use of other scalemodes depends on what you are doing with the form/control.  e.g. Pixel scalemode is useful when using the Windows API functions, which use pixel dimensions.  A User defined scalemode is often used to make it easier to draw charts or plots.

Unless you need another sclalemode - use Twips.
0
 

Author Comment

by:diek_nf
ID: 2760225
Erick
Again, quick helpful.

derrick
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question