Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Sub SizeComboTextBoxes (
FormName As String

Where comboboxes have textboxes superimposed on the front of them in order to display related items that are not in the dropdown list (eg. where the item has been marked hidden), this sub sizes the textboxes so that they fit neatly inside the combobox display area. The form is opened in design mode, the changes made, and the form saved. Textboxes are resized if (a) the midpoint of the textbox lies inside the combo box display area (b) the combo and textbox have the same parent object (so that superimposed textboxes and combos on different tabs, for example, are not regarded as linked) (c) the textbox tag does not contain the text 'xfNoResize'

FormName as String

The name of the target form.

Call Template:

xf.Controls.SizeComboTextBoxes FormName

See Also:

Example 1:

xf.Controls.SizeComboTextBoxes "fmOrderSub"
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd