473,834 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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).H eight
Me.Section(1).H eight
Me.Section(2).H eight

Me.Footer.heigh t
Me.Header.heigh t
Me.Detail.heigh t

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
programmaticall y 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 1452

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

Similar topics

6
1865
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
2410
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. What impact do access modifiers have on the order? Also, does anyone use standardised region names?
7
2741
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
2385
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) code file from a project, the regions are there again (and collapsed). This is really beginning to annoy me, so I'd really like to find a solution to get rid of these regions. Is there another setting I've missed?
8
1761
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 (blah, blah). Anyone have any suggestions for having regions and their comments show up in XML comments...
3
7310
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 (essentially highlighting the area with a border and some bold text). I have it working fine using imagebuttons, but my problem is that in order to create the image buttons, I have to crop the large image file into smaller regions in Photoshop to make...
3
1556
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 to scroll through the complete list of parts to find the parts that relate to the model in question. I've got two combo boxes on the main form where you can select the manufacture, that filters the model combo box to show only models from that...
92
4786
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 have a form where you can add and delete multiple serial information. This works wonderful. But now for every serial information i add i need to be able to add and remove multiple parts to that serial. heres an example of what i mean serial...
58
8155
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 the parts section an i seem to be having trouble. When i try to insert into the parts section i get the error Invalid character value for cast specification. But not sure what i am doing wrong. Here is what i am using to insert. All the sections...
0
10795
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10550
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9332
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7760
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6957
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5796
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4427
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 we have to send another system
2
3981
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3083
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.