I have a form that has like 20 text boxes that are comments.
When I create the textbox I add it below the previous one; eventually I
run out of space on the form. I am able to resize the form but
eventually I cannot continue to add more text boxes. The form height
size maxes out at 812.
I may not be using the right approach. I want to be able to have a
bunch of text boxes underneath each other (they are comment fields that
are multiline and will take up 4 rows of text not that that matters).
There are other controls next to this textbox (radio buttons and
checkboxes) that is not why I don't create a simple grid.
I guess I don't care what the real form size is, all I care about is to
be able to have a form that is scrollable that will eventually have
more textboxes that will currently fit on the form.
I have been trying both VisualBasic 2005 and VB6.
thanks, David 5 1312
David,
can you add a panel to the form, make it Autoscroll, and add your TextBoxes
to the panel.
Fred
"vbDavidC" <ch************ *@yahoo.comwrot e in message
news:11******** **************@ 51g2000cwl.goog legroups.com...
>I have a form that has like 20 text boxes that are comments.
When I create the textbox I add it below the previous one; eventually I
run out of space on the form. I am able to resize the form but
eventually I cannot continue to add more text boxes. The form height
size maxes out at 812.
I may not be using the right approach. I want to be able to have a
bunch of text boxes underneath each other (they are comment fields that
are multiline and will take up 4 rows of text not that that matters).
There are other controls next to this textbox (radio buttons and
checkboxes) that is not why I don't create a simple grid.
I guess I don't care what the real form size is, all I care about is to
be able to have a form that is scrollable that will eventually have
more textboxes that will currently fit on the form.
I have been trying both VisualBasic 2005 and VB6.
thanks, David
Fred,
Thanks, that worked. :)
Fred wrote:
David,
can you add a panel to the form, make it Autoscroll, and add your TextBoxes
to the panel.
Fred
"vbDavidC" <ch************ *@yahoo.comwrot e in message
news:11******** **************@ 51g2000cwl.goog legroups.com...
I have a form that has like 20 text boxes that are comments.
When I create the textbox I add it below the previous one; eventually I
run out of space on the form. I am able to resize the form but
eventually I cannot continue to add more text boxes. The form height
size maxes out at 812.
I may not be using the right approach. I want to be able to have a
bunch of text boxes underneath each other (they are comment fields that
are multiline and will take up 4 rows of text not that that matters).
There are other controls next to this textbox (radio buttons and
checkboxes) that is not why I don't create a simple grid.
I guess I don't care what the real form size is, all I care about is to
be able to have a form that is scrollable that will eventually have
more textboxes that will currently fit on the form.
I have been trying both VisualBasic 2005 and VB6.
thanks, David
Fred, I have another question regarding form design, I wonder if I can
give you my email address and I can ask you a couple of other
questions.
The app is for data entry, I am using a paperform as my template. The
paper form is about 6 pages long. What I am thinking is placing each
section (about 6) in its own form and having a separate form for
navigation to switch between forms. I guess as user wants to change
forms, it will appear to go from one form to the other, in VB6 it would
look like like I would unload the current form, and then show the new
form. I guess my navigation buttons, 'next page', 'previous page',
'exit' would be on another form.
vbDavidC wrote:
Fred,
Thanks, that worked. :)
Fred wrote:
David,
can you add a panel to the form, make it Autoscroll, and add your TextBoxes
to the panel.
Fred
"vbDavidC" <ch************ *@yahoo.comwrot e in message
news:11******** **************@ 51g2000cwl.goog legroups.com...
>I have a form that has like 20 text boxes that are comments.
When I create the textbox I add it below the previous one; eventually I
run out of space on the form. I am able to resize the form but
eventually I cannot continue to add more text boxes. The form height
size maxes out at 812.
>
I may not be using the right approach. I want to be able to have a
bunch of text boxes underneath each other (they are comment fields that
are multiline and will take up 4 rows of text not that that matters).
There are other controls next to this textbox (radio buttons and
checkboxes) that is not why I don't create a simple grid.
>
I guess I don't care what the real form size is, all I care about is to
be able to have a form that is scrollable that will eventually have
more textboxes that will currently fit on the form.
>
I have been trying both VisualBasic 2005 and VB6.
>
thanks, David
>
Hi,
You might consider a Tab control for this (example: http://msdn2.microsoft.com/en-us/lib...bcontrol.aspx).
There also are commercial controls (DevExpress for example).
Dick
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
why not use panels ... 6 panels - one for each 'page' ... and make the
'current' one visible ... and hide the rest.
this way you are not jumping between forms.
If you get really fancy, you could make the 'paper' form a background image
in the respective panel and place your fields over top of the paper form ...
giving the user the illusion of entering the data on the paper form.
"vbDavidC" <ch************ *@yahoo.comwrot e in message
news:11******** **************@ q40g2000cwq.goo glegroups.com.. .
Fred, I have another question regarding form design, I wonder if I can
give you my email address and I can ask you a couple of other
questions.
The app is for data entry, I am using a paperform as my template. The
paper form is about 6 pages long. What I am thinking is placing each
section (about 6) in its own form and having a separate form for
navigation to switch between forms. I guess as user wants to change
forms, it will appear to go from one form to the other, in VB6 it would
look like like I would unload the current form, and then show the new
form. I guess my navigation buttons, 'next page', 'previous page',
'exit' would be on another form.
vbDavidC wrote:
>Fred,
Thanks, that worked. :)
Fred wrote:
David,
can you add a panel to the form, make it Autoscroll, and add your
TextBoxes
to the panel.
Fred
"vbDavidC" <ch************ *@yahoo.comwrot e in message
news:11******** **************@ 51g2000cwl.goog legroups.com... I have a form that has like 20 text boxes that are comments.
When I create the textbox I add it below the previous one; eventually
I
run out of space on the form. I am able to resize the form but
eventually I cannot continue to add more text boxes. The form height
size maxes out at 812.
I may not be using the right approach. I want to be able to have a
bunch of text boxes underneath each other (they are comment fields
that
are multiline and will take up 4 rows of text not that that matters).
There are other controls next to this textbox (radio buttons and
checkboxes) that is not why I don't create a simple grid.
I guess I don't care what the real form size is, all I care about is
to
be able to have a form that is scrollable that will eventually have
more textboxes that will currently fit on the form.
I have been trying both VisualBasic 2005 and VB6.
thanks, David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Buz |
last post by:
I am having a problem with extra, unwanted space showing
up on my web form tables. I've tried hand coding and can
get the htm file to display fine. But as soon as I bring
the form into Visual Studio, convert it to an aspx web
form, and insert my user controls, I start getting extra
blank space between my rows, even when I give an
explicit "height" attribute.
The problem seems to occur with tables that have rowspans
and/or user...
|
by: David |
last post by:
copy and paste the following in a new html file and see it in IE:
<form action="">
<button>Button1</button>
<br>
<button>ButtonButtonButton11</button>
|
by: Stuart Norris |
last post by:
Dear Group,
I have a question about the result from ‘graphics.MeasureString' when
using a mono-spaced font. Firstly I assume that Courier New font is
mono-spaced, ie each character takes up the same space when drawn on
the screen.
I am working on a program that requires displaying data in fixed width
font. I assumed that with ‘graphics.MeasureString' I could calculate
the width of the string when drawn in a specified font.
|
by: Craig |
last post by:
Is it possible to restrict where an mdi form can go within the parent
form....for example, what if I wanted the parent form to have a panel with a
listbox on the left hand side of the form......would it be possible to
somehow code it so that any mdi forms would not be allowed to be dragged over
the panel. (Or when cascaded, the mdi forms wouldn't overlap the panel?)
|
by: Michael Turner |
last post by:
Hi Guys
I have several images that will be used over and over again on different
forms in the same place, I have decided to create a control to save
space/time in development, I have create a control which inherits the panel
and added three panel control which host the 3 background images ( one to
the left the other to the right and one to fill the gap) now with this
control textboxes will be placed on these controls once they are added...
| |
by: Roy |
last post by:
Hey All,
Kind of a series of anomalies here with one root source, I believe. I
have an editable, paging datagrid.
1.When one clicks "edit" textboxes open up on row x, HOWEVER, if one
clicks "next page" the textboxes remain no matter which page you are
on. No error messages are shown.
2.After editing data, when one clicks "update" the page refreshes, but
*no* new data is actually loaded into the db. No error messages are
|
by: dw |
last post by:
hello -
first, let me state that i am an Asp.Net rookie.
here is the situation:
i have a page that looks good in the vs.net designer, but when the page
renders there are extra amounts (vertically) of space between controls. i
have all of the controls in a table, to help line them up, and I have
reviewed the html to verify that there are no extra spaces or paragraphs or
breaks between the controls. however, when i run the web site,...
|
by: Don Miller |
last post by:
When an ASP.NET 2.0 web page is rendered with multiple web controls hidden
from view (.visible=false) there is a noticeable gap between a rendered
element (like a table) and the next visible element (e.g. a button). When I
look at the HTML source code there is nothing there except white space (see
below).
First of all, I thought browsers ignore white space and condense it down to
one space, but most of all, how can controls be hidden...
|
by: raylopez99 |
last post by:
I have a logical drawing space much bigger than the viewport (the
screen) and I'd like to center the viewport (the screen) to be at the
center of the logical drawing space. After following the excellent
transforms specified on Bob Powell's site, I still wonder if there's
an easier way of centering it than the following procedure?
Here is what I do now (it's awkward but it works):
1) I follow the transforms specified on Bob Powell's...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |
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...
| |