473,387 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Regions / parts of a form

Hello,

I have a main form consisting of a Header, Detail and Footer.

The Detail consists of a Continuous Form of records. Associated with
each record is a "Select" Button for Selection.

The Footer contains a Subform.

On opening the form, the height of the Footer is reduced to show only
the "Exit" button for the Main Form. The Subform is 5 Twips high and
the form's visible property is set to false - for all practical
purposes, it is a blank real estate in the Footer.

Again on Opening - the Detail shows the Continuous Form of records.
To better handle the form, I determine if the number of records being
sought to be displayed is more than a fixed number - say 4. If so,
then I fix the Height of the Detail to a calculated value which is
based on the Height, RowHeight and FooterHeight.

On Clicking one of the select buttons:

The record associated with that entry (key value), is loaded into the
subform and the height of the subform is increased to display a
continuous form again.

NOW MY QUESTIONS:

I have encountered so many height related variables and I would like
to know what each of these variables are:

Me.Section(0).Height
Me.Section(1).Height
Me.Section(2).Height

Me.Footer.height
Me.Header.height
Me.Detail.height

What variable should I use for the Row Thickness? As of today, when
the number of records is more than my fixed number (4), then I
programmatically change the detail height to that which requires
displaying 4 records. My problem is somewhere I am missing a few
twips so that the upper portion of the select button is visible.

To complicate matters, I have a header and footer in the subform too!

hope someone can help.

Regards,

Uttam
Nov 12 '05 #1
0 1431

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

Similar topics

6
by: C# Learner | last post by:
1) How often do you put regions into your code? a) very often b) occasionally c) infrequently d) never 2) If you didn't answer (d), what do you use regions for? a) hiding ugly code
4
by: Simon | last post by:
Just starting on C# and would like to know what suggestions there are for the order in which declarations, event handlers, properties, private code, nested classes, etc, etc appear in your files....
7
by: gaidar | last post by:
Hi, everybody, I'm just wondering if someone really need stuff like this: http://msdn2.microsoft.com/library/ms123401.aspx. If you answer yes than explain, please. Thanks! Gaidar
6
by: Ikke | last post by:
Hi everybody, Can somebody tell me how to disable regions in Visual Studio 2005? I've already told VS not to collapse code to regions in the settings, but each time I open a new (existing)...
8
by: Spleenwort | last post by:
With regard to XML comments in c#. I think that #regions should be self-documenting relative to XML comments or that a <region> tag should be defined and auto-inserted when you type #region...
3
by: Mark Denardo | last post by:
Ok here's my problem: I have a large number of pages that each contain a large image that when a user mouses over a specific region of the image I need that section of it to show a new image...
3
by: Rick | last post by:
I have a customer order form with a subform that lists parts per customer order that I'm updating. I'm trying to filer the parts list per Manufacture and Model number so that the user doesn't have...
92
by: bonneylake | last post by:
Hey Everyone, Well i was hoping someone could explain the best way i could go about this. i have a few ideas on how i could go about this but i am just not sure if it would work. Right now i...
58
by: bonneylake | last post by:
Hey Everyone, Well recently i been inserting multiple fields for a section in my form called "serial". Well now i am trying to insert multiple fields for the not only the serial section but also...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
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...

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.