My BO don't move when I use the BrowseDialog and OLEDB VFP Table


Author
Message
Elio Reyes
Elio Reyes
StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)
Group: Forum Members
Posts: 46, Visits: 251
Hi



When the Browse Dialog is working, I can search, sort results... Everything is Ok, but When I use SF Browse Info Panel or try to get the result pointer from the search... The BO is steel in the first record.



Thanks SF

Reply
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Pedro,

You have to add code to the InfoPanel.RowChanged event to update the data in the info panel. 

Here a sample:

Private Sub CustomersBrowseInfoPanel_RowChanged(ByVal e As MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogRowChangedEventArgs) Handles MyBase.RowChanged

     '-- Strong-type the business object

     With CType(e.BusinessObject, bizCustomers)

          '-- Set the Customer detailed info.

          Me.lblCompanyName.Text = .CompanyName

          Me.lblStreet.Text = .Street

          Me.lblCityStateZip.Text = String.Format("{0}, {1} {2}", .City, .State, .ZipCode)

          Me.lblContactName.Text = .ContactName

          Me.lblBusinessPhone.Text = .Phone

          Me.lblFax.Text = .Fax

          Me.lblMobilPhone.Text = .Mobil

          Me.lnkeMailAddress.Text = .eMail

     End With

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