A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Auto Reformat of a form



 
 
Thread Tools Display Modes
  #1  
Old July 10th, 2009, 07:40 PM posted to microsoft.public.access.forms
Big Wes
external usenet poster
 
Posts: 5
Default Auto Reformat of a form

Hello. Thanks for the help. I have a form "Form1" with a number of
text boxes lined across the page and a check box. I wanted to know if
there is a way to shift several text boxes on my form and insert a new
text box if the check box is checked, but not show it if the checkbox
is unchecked.

Thank you.
  #2  
Old July 11th, 2009, 02:22 AM posted to microsoft.public.access.forms
June7 via AccessMonster.com
external usenet poster
 
Posts: 173
Default Auto Reformat of a form

Yes. Use AfterUpdate event of the checkbox. Include code that will change the
property settings of other controls (visible, enable, top, left, etc.) Note
that top and left have to be in twips, ex:
Me.tbxLabelNo8.Top = 4079.952 'twips, 1 inch = 1440 twips


Big Wes wrote:
Hello. Thanks for the help. I have a form "Form1" with a number of
text boxes lined across the page and a check box. I wanted to know if
there is a way to shift several text boxes on my form and insert a new
text box if the check box is checked, but not show it if the checkbox
is unchecked.

Thank you.


--
Message posted via http://www.accessmonster.com

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.