Hello,
Ive added a RadButtonElement to my RadForm's TitleBar using the below mentioned code:
Public Class RadForm1
Dim b1 As New RadButtonElement
Sub RadForm_Load(...) Handles RadForm.Load
FormElement.TitleBar.SystemButtons.Children.Insert(0, b1)
End Sub
End Class
Now what I want to achieve is when I click on b1 a small form (RadForm2) should be displayed just below b1. For that I tried to get the location of b1 so that I can use the b1's location value to set the location of RadForm2. But the location value of b1 returns 0,0.
So maybe I can't achieve what I want using the ButtonElement's location value as it seams the location value of any button element on the TitleBar is always 0,0.
So is there anyway I can get RadForm2 to be displayed just below b1?