Further Customization of Browse Dialogs


Author
Message
JKelly
JKelly
StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)
Group: Forum Members
Posts: 19, Visits: 149
Hello, I am working with the Browse Dialog control. While I like the ease of the behaviour it provides I am seeking to customize it further. Basically I have a text string for the "HeaderDetailText" that exceeds the length of the form. Testing with users has indicated that an explanation on how the browse dialog works would be beneficial (i.e. just hit enter for all records, multiple search terms result in logical "and").

I've tried embedding vbcrlf & Chr(10) + Chr(13) but it just prints out the strings themselves (makes sense). I've tried programmatically accessing the control with the hope of either setting the text with an embedded carriage return or setting the multi-line property to true but I can't find "it" (the GradientHeader.DetailText control) in form's object collection leading me to suspect that it is private or of a different type.

I've tried putting other controls on it (like a button for a help dialog to explain how to search) but the Browse Dialog is modal in design time so I am unable to do so. I could reinvent the wheel and create my own Browse Dialogs but since you guys have already done the (great) work I figured I'd try to use.

Any tips would be much appreciated.

Thank you - J

Replies
JKelly
JKelly
StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)
Group: Forum Members
Posts: 19, Visits: 149
BTW - My apologies for the multiple case font - too many editors open.  : )
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
I guess I am confused as to what your problem actually is then.  Initially I thought you needed more area for text in the GradientFormHeader, but from the last response, it sounds like you are just trying to display custom details to the browse.  If this is the case, that is what the InformationPanel is for.  You can create an InformationPanel class.  Once created, drop any controls that you wish to interact with on the panel.  Build the solution, then go to your BrowseDialog InformationPanel property and select the InformationPanel that you created.  This will allow you to add any custom functionality to the Browse Window, which is what I think are attempting to do.

One last thing, for the information panel to show up when the browse is displayed, be sure go to the FormLayout property of the BrowseDialog and check the "Show Side Panel" checkbox.  This will show an additional area of the browse where you can add your new InformationPanel.

Let me know if this gets you going in the right direction.

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