Browse Dialog Questions


Author
Message
Ben Kim
Ben Kim
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 99, Visits: 253
I know we can create our own BrowseDialog (per SampleCRMApplication), however I have a couple of questions prior to attempting to do this:

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 BigGrin  For example take a multi-dept table - we only want to show the current user "his/her" departments records.

Thank you!

Ben

Replies
Ben Kim
Ben Kim
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 99, Visits: 253
Trent,

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 False
2. 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...

Ben

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
ISSUE 1:

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.

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.

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.

Attachments
SampleBrowse.zip (158 views, 748.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ben Kim - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Ben Kim - 18 Years Ago
Ben Kim - 18 Years Ago
Trent L. Taylor - 18 Years Ago
                         Trent, Sorry to be a pain, but using the FormLayout of the...
Ben Kim - 18 Years Ago
                             [quote] Also, why is the "Hide Results" button still showing if...
Trent L. Taylor - 18 Years Ago
                                 Trent, I appreciate your efforts and have re-read the documentation...
Ben Kim - 18 Years Ago
                                     [quote]ISSUE 1:[/quote] Everything you are trying to do here...
Trent L. Taylor - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search