[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Perplexing Height Properties

Posted on 2000-04-28
5
Medium Priority
?
125 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 40 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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 trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month18 days, 9 hours left to enroll

825 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