MaintenanceFormToolStrip control behavior


Author
Message
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi All,

I have a SF form with two related business objects, a MaintenanceFormToolStrip for parent BO and a ThemedToolStrip for the child BO.  (See image attached)

When I click the "Add" button of the ThemedToolStrip to call the CustomersBuildingsAddressBO1.Add(), the MaintenanceFormToolStrip buttons state will change, like I would have clicked the "New" button in that toolstrip.

I was looking for all properties in those toolstrip controls and the BOs, but could not find any property that would may be causing that behavior.  The two BOs are just related, but they work independent of each other, only that I make sure there is a parent record before trying to add a child one.

Here is the code for the Add button:

Private Sub tsiAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tsiAdd.Click

If Me.CustomersBO1.Count > 0 Then

Me.CustomersBuildingsAddressBO1.Add()

Me.txtBuildingStreet.Focus()

End If

End Sub



Edhy Rijo

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