I want to be able to set (or reset) the Top property of an existing textbox (named TxtPackage) from .3in to 0in. I want to do it dynamically in VB. I tried "TxtPackage.Top =", but nothing I used as the result worked.
Your help, as always, is appreciated.
1 Answer, 1 is accepted
0
Steve
Telerik team
answered on 21 Jan 2010, 02:21 PM
Hello Bob,
The intellisense of Visual Studio shows that a value of type Telerik.Reporting.Drawing.Unit is required for the Top property i.e.:
Me.TxtPackage.Top = New Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch)
If this textbox is available in the report designer (i.e. not created entirely programmatically), then you can control this through the Location --> Y property from the property grid.