StrataFrame Forum

Dev Express Browse Dialog

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

By Paul Chase - 1/19/2007

I am trying to populate a devexpress browse by setting the initial value and setting the top panel to show the results and hiding the bottom panel. however the bottom panel still shows, below is and example of what i am doing. Am I missing something? 

Me.JobsiteDialog.FormLayout.TopPanelContents = MicroFour.StrataFrame.UI.BrowseDialogLayoutType.BrowseResults

Me.JobsiteDialog.FormLayout.ShowBottomPanel = False

Me.JobsiteDialog.SearchFields(0).InitialValue = Me.BoCustomer1.cus_pk.ToString

If Not Me.JobsiteDialog.ShowDialog(True) = Windows.Forms.DialogResult.OK Then

By StrataFrame Team - 1/19/2007

Are you also setting the Me.JobsiteDialog.FormLayout.BottomPanelContents property to SearchFields?
By Paul Chase - 1/19/2007

No I was not. I tried it though and it does not work.

In a standard SF browse dialog it works as expected setting the bottom panels visible property to false and the panel does not show. Either way it seems to me that by setting the property to false it should hide the panel regardless of what the contents are set to.

Paul

 

By Trent L. Taylor - 1/19/2007

I will have to look at the control and reproduce this and get back with you.
By Paul Chase - 1/22/2007

Thanks alot Trent,

No rush on this on my end BigGrin