StrataFrame Forum

Navigation toolbar in BrowseDilog?

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

By Ben Hayat - 6/19/2007

Would it be possible to add a Navigation ToolBar (First, Prev, Next, Last) in the Browse Dialog?



Thanks!
By Trent L. Taylor - 6/20/2007

What would be the purpose of this and what would it do?  Are you wanting to navigate the records in the results list?
By Ben Hayat - 6/20/2007

Trent L. Taylor (06/20/2007)
What would be the purpose of this and what would it do? Are you wanting to navigate the records in the results list?




As I was demonstrating to a client yesterday and we did a browse on a table that brought lots of records and filled the list view, then we were scrolling using the scroll bar, and he suggested that in other forms, I offer him a navigation toolbar (for first, prev, next and last), perhaps I can give him the same toolbar for his users to stay consistent. I said, I don't have control over Browse Dialog and I'll make a suggestion on the forum. And that's where it came from.



Thanks!
By Ben Hayat - 6/20/2007

Are you wanting to navigate the records in the results list?




Forgot to answer this question specifically, Yes for the result set, where we can turn off the (new, edit, save, undo, Delete) using "IncludeXXXButton=false" of the toolbar, and only use the navigation part.



Thanks!
By Trent L. Taylor - 6/21/2007

Hey Ben,

OK...I see what you are trying to do.  If you will recall in class, I was showing how 1.6.1 allows an InfoPanel to talk directly to the ListView if you would like.  So you could actually add this logic to an InfoPanel.  Now the MaintenanceFormToolstrip won't really work because the ListView is not "bound" to the BO from which it was popualted....as no ListView is actually ever "bound."  Which in all actuallity makes this less complicated because you can just move the SelectedIndex on the ListView and you do not even have to worry about the BO or the data behind the ListView.  Just create a button or some links on an InfoPanel that moves First (SelectedIndex = 0), Last (SelectedIndex = ListView.Items.Count-1), etc.

By Ben Hayat - 6/21/2007

Trent L. Taylor (06/21/2007)
Hey Ben,



OK...I see what you are trying to do. If you will recall in class, I was showing how 1.6.1 allows an InfoPanel to talk directly to the ListView if you would like. So you could actually add this logic to an InfoPanel. Now the MaintenanceFormToolstrip won't really work because the ListView is not "bound" to the BO from which it was popualted....as no ListView is actually ever "bound." Which in all actuallity makes this less complicated because you can just move the SelectedIndex on the ListView and you do not even have to worry about the BO or the data behind the ListView. Just create a button or some links on an InfoPanel that moves First (SelectedIndex = 0), Last (SelectedIndex = ListView.Items.Count-1), etc.


Got you! Yes, I remember the InfoPanel from the class and I'm about to implement it in a new form that's a bit more complex and I can approach the navigation as you suggested. I remember you had mentioned that you added a bunch of new things to Browse Dialog, and I'm waiting to see the final cut before I add info panel.



As I had said in another post, I'm really enjoying the wealth of features in this product (you get to appreciate it when you're working closely with it). Great product!!!
By Trent L. Taylor - 6/21/2007

As I had said in another post, I'm really enjoying the wealth of features in this product (you get to appreciate it when you're working closely with it). Great product!!!

Thanks a lot....it always good to hear from our users having success in the field!!! Smile