1. Is there a property exposed in the BrowseDialog class that will allow us to not only turn on AdvancedOptions but to auto-check it so the Advanced options always show next to the search fields?
2. Is there a way to permanently turn off the search results? We want the user to enter the search criteria and hit the "Search" button. Once the search is complete automatically return to the Maintenance Form.
3. Can a property be added to the BrowseDialog to show "Maximum Records To Return" giving the user the option to return top 100, bottom 100, all records, etc.?
4. Remember you were going to add a "Hard Filter" option For example take a multi-dept table - we only want to show the current user "his/her" departments records.
Thank you!
Ben
I appreciate your efforts and have re-read the documentation for 1.6. However, these suggestions still do not clear up my issues.
ISSUE 1:
1. I did as you said and set the AllowHideResults to False2. The lower pane is not shown in the designer (the only pane shown is the upper Search pane).3. BrowseResultsLayout is (Not Set)4. I run the software and it still shows the results grid after clicking search. I understand why it is showing the OK and CANCEL buttons but not the grid. According to what you are saying the results grid should remain hidden. This is not the case. I also tried to set ResultsHiddenOnLoad to True, Removed the caption from ResetText...
ISSUE 2:
I set the Browse button text to SEARCH on the Maint. Toolbar. When I run the project, it switches the text back to Browse. I see no where in the documentation that states this caption cannot be changed.
I will definately re-read the documentation and search the newsgroups on areas where I have issues in the future. My two current issues are not being addressed by documentation or from what I have found on this forum.
Again I appreciate all of the help you have given us in the past couple of months. We are still learning .NET and StrataFrame...
Everything you are trying to do here contradicts how the browse dialog is designed. The AllowHideResults doesn't indicate whether the browse results will appear or not, it determines whether the end-user can do this at run-time by clicking the button on the toolstrip.
Again, I re-emphasize that you are trying to use the BrowseDialog in a format contrary to its design. We have no plans at the moment of never allowing the results to appear....it makes it very difficult for an end-user to select which result item they want if they cannot see the results.
You cannot change the text, add buttons (except to the end) within the buttons themselves. Set the MaintenanceFormToolstrip's BrowseButtonText to "Search."
I have attached a sample to show you how to change this property and how you can expect the browsedialog to behave.