473,788 Members | 2,706 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

text Field "can grow" property

11 New Member
Is it possible in a form while entering data in a text field to get the field to drop down so as to see all of what you're typing. I know this option is available in a Report but haven't come across any information about it regarding forms?

Regards,

Steve
Mar 27 '07 #1
2 2935
missinglinq
3,532 Recognized Expert Specialist
There is no "can grow" equivalent for forms. One work around is to allow the user to use the ZoomBox command to expand the text box for data entry/viewing. The best way is probably by using the DoubleClick event:

Expand|Select|Wrap|Line Numbers
  1. Private Sub YourTextBox_DblClick(Cancel As Integer)
  2.    DoCmd.RunCommand acCmdZoomBox
  3. End Sub
The drawback to this method is that the zoombox is large and awkward and you can't control where it pops up. Give it a try, and if you feel it's too unwieldly, post back and I'll give you a work around that requires a bit more work but one where you can control the size/placement of a custom zoom box.
Mar 27 '07 #2
steve456
11 New Member
There is no "can grow" equivalent for forms. One work around is to allow the user to use the ZoomBox command to expand the text box for data entry/viewing. The best way is probably by using the DoubleClick event:

Expand|Select|Wrap|Line Numbers
  1. Private Sub YourTextBox_DblClick(Cancel As Integer)
  2.    DoCmd.RunCommand acCmdZoomBox
  3. End Sub
The drawback to this method is that the zoombox is large and awkward and you can't control where it pops up. Give it a try, and if you feel it's too unwieldly, post back and I'll give you a work around that requires a bit more work but one where you can control the size/placement of a custom zoom box.

Thanks missinglinq,

I'll give it a go.

regards,

Steve
Mar 27 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

119
4638
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see, http://www.alistapart.com/articles/betterliving/ I read on http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/netfxcompat.asp It said they changed stuff like this
11
19613
by: Robert Lacoste | last post by:
Dear Access gurus, I was using since years Access 97, now under XP SP2, without any problem. However I've just reformatted my HD (viruses...), reinstalled XP SP2, and then I am no longer able to install Access 97 : When executing the install, I got successively two error messages (sorry, it's probable not exactly the same text than in the english version of access as I've just translated what my french access says) :
2
1851
by: norvinl | last post by:
Hi, I have a textbox on a form. When I assign a string to the .Text property while in my form's constructor, the program just hangs indefinitely. Alternatively, if I assign the string to the form's .Text property, it works fine. this code hangs (never returns from 3rd line):
0
1992
by: huobazi | last post by:
I have many dropdownlist controls in my ascx (and use LoadControl in a aspx fiel) file,so i write a method "InitList(DropDownList list,string strsql,string TextField,string ValueField)" but when i want to get the BigClassList.SelectedItem.Text and BigClassList.SelectedItem.Value in a button onclick method,btnSmallClassEdit_Click(....),there post an error " System.NullReferenceException: 佫¶ÔÏóÒýÓÃÉèÖõ½¶ÔÏóµÄʵÀý¡£", I Don't know the...
1
2140
by: Charlie | last post by:
Hi: I'm using the HTML File Field control as a file picker for uploading files to a SQl Server image field. When page posts back to initiate upload, if file is small (under about two megs) all is well. However, when I select a large file, the default IIS "Cannot find server" page is immediately returned. Weird??? Thanks, Charlie
2
10888
by: Gustavo De la Espriella | last post by:
Hi, I know this is not a Crystal Reports group, but news.cogniza.com recieves like one question per week. Does anyone know how to push fields following a textbox when it grows with the "Can Grow" property set? I have, for example, two fields, and I want the second one to start when the first one ends so they don't overlap. Please help,
1
2006
by: welles.lo | last post by:
Hi all, I found that the default "can grow" in Crystal Reports 10 is different from the one in Crystal Report 9. In version 9, when "can grow" is disable, the words in the field are chopped off and doesn't not warp around to the next line. In version 10, when "can grow" is disable ,the text would overlap the field next to it if the text is too long, to make it field behave the
2
3844
by: Seanw | last post by:
i created a report in access. the output look like spreedsheet(every field has solid border) there is one colunm have some fields have very long content. so i set all colunms to "can grow" but in printing preview. there is the only the field with long contents grows. other fields in the same rows are still short than that one. which looks awful. can I make all the fields in that row the same height as that one? thanks
0
1254
by: sudhashekhar30 | last post by:
hi i m trying to set text property of label which is in content page from javascript function. function empcodesize() { var size=document.getElementById('<%=TxtempCode.ClientID %>').value; var lblmsg=document.getElementById('<%=LblValidMsg.ClientID %>').id; var len=size.length; if(len<9) { set text property of label here or any other option }
0
9656
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, 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...
0
9498
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,...
0
10177
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 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...
1
10113
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
9969
tracyyun
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...
1
7519
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
5402
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...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2896
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.