Getting Instance of child form


Author
Message
Wayne Van Rooyen
Wayne Van Rooyen
StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)
Group: Forum Members
Posts: 15, Visits: 33
Hi i am trying to set the title and detail text of a header when the form loads, this would normally work in straight vb, i cant see why its not when using the child dialog.

Private Sub GridControl1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridControl1.DoubleClick

    My.Forms.CustomerEditForm.GradientFormHeader1.Title = "Editing Customer..."
    My.Forms.CustomerEditForm.GradientFormHeader1.DetailText = "TEST"
        If Me.ShowCustomerEdit.ShowDialog = Windows.Forms.DialogResult.OK Then
             Try
                  CustomerBO1.Save()
             Catch ex As Exception
                    MessageBox.Show(ex.Message)
               End Try
             Else
          CustomerBO1.RejectChanges()
         End If
CustomerBO1.Refresh()
End Sub

Regards Wyane


Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Glad I could help, Wayne Smile

1) I'm not positive that the documentation is the latest one available... I've been adding to the CHM quite a bit, I just need to publish it.  I'll let you know when I do.

2) The product was officially released on November 21, 2005 (being .NET 2.0 only, we had to wait on VS2005 and .NET 2.0 to be officially released).  We put out maintenance releases as needed (like the one I built for you yesterday), and a full release is posted about once a month.

3) The Infragistics wrapper is not going to well.  They seem to have stuck their legal department on us and have repeatedly said that if we release any developer product that uses their product, we have to resell a license of their product.  So, basically, we're at the point of giving up on releasing one.  However, if some community members were to get together and write a wrapper DLL, they could host it here as an open source solution.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search