Solved

Perplexing Height Properties

Posted on 2000-04-28
5
120 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 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