Hi,
I have a really strange situation. I have a form that has a radpanel control and all my others controls are on the panel. If I put a RadLabel on the right bottom and if I set the anchor of the label to bottom-right, the location of the label is change.
Here is my setting :
Me.RadPanel1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.RadPanel1.Controls.Add(Me.RadLabel1)
Me.RadPanel1.Location = New System.Drawing.Point(603, 385)
Me.RadPanel1.Name = "RadPanel1"
Me.RadPanel1.Size = New System.Drawing.Size(200, 100)
Me.RadPanel1.TabIndex = 14
Me.RadPanel1.Text = "RadPanel1"
Me
.RadLabel1.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.RadLabel1.Location = New System.Drawing.Point(138, 83)
Me.RadLabel1.Name = "RadLabel1"
Me.RadLabel1.Size = New System.Drawing.Size(59, 14)
Me.RadLabel1.TabIndex = 0
Me.RadLabel1.Text = "RadLabel1"
At runtime in immediate windows, i get:
?me.RadLabel1.Location
{X = 77 Y = 67}
Empty: {X = 0 Y = 0}
IsEmpty: False
X: 77
Y: 67
Any idea of what's going wrong?