StrataFrame Forum

Recordcount display in Maintenance form...

http://forum.strataframe.net/Topic3139.aspx

By StarkMike - 9/27/2006

How can I get a Record 1 of 100 type of display in a maintenance form whether standard StrataFrame Maintenance form or the inherited DevExpress one.



I know you have the maintenance toolbar at the top but it doesnt have a record position and count on it like most navigators.
By Trent L. Taylor - 9/27/2006

Just capture the Navigated event on the business object and set a label somewhere.  For example:

Private Sub CustomersBO1_Navigated(ByVal e As MicroFour.StrataFrame.Business.NavigatedEventArgs) Handles CustomersBO1.Navigated

'-- Establish Locals

Dim lcMsg As String

lcMsg = Me.CustomersBO1.CurrentRowIndex.ToString() & " of " & Me.CustomersBO1.Count.ToString()

End Sub