[AccessD] Set height of txt boxes equal

Joe Hecht jmhla at earthlink.net
Mon Feb 28 10:13:03 CST 2005


So if I modify the code to calculate a specific text box
Can I then say 

	Me.othertextbox.lngmyheight = xxx


Dim frm As Form
Dim lngMyHeight as long
Dim ctl as Control

lngMyHeight= xxxxx

For each ctl in Me.Controls
  if ctl.ControlType = acTextBox then
	ctl.Height=lngMyHeight 
  end if
Next

HTH

-- Andy Lacey
http://www.minstersystems.co.uk 


> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com 
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht
> Sent: 28 February 2005 07:26
> To: AccessD
> Subject: [AccessD] Set height of txt boxes equal
> 
> 
> Anyone know the way to the code?
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com 
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list