Browse Dialog


Author
Message
Sarosh
Sarosh
StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)
Group: Forum Members
Posts: 22, Visits: 116
Hi!

I would like to have only one BrowseDialog for all my BO's on my form so my question is how do I set the the BD's properties in code?

i.e. in the click event for the browse button of the form I would like to do something like:

if (this.ActiveBO is CustomerBO)

{

   this.browseDialog.SomeProperty = "CustomerSomeValue"

   this.browseDialog.SomeOtherProperty = "CustomerSomeOtherValue"

   etc.

}

else if (this.ActiveBO is OrderBO)

{

   this.browseDialog.SomeProperty = "OrderSomeValue"

   this.browseDialog.SomeOtherProperty = "OrderSomeOtherValue"

   etc.

}

Is this the right way or is their an easier/cleaner way to do this

Sarosh

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Sarosh - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Sarosh - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Sarosh - 17 Years Ago
                     [quote][b]Trent L. Taylor (06/01/2007)[/b]
All of our...
Fabian R Silva, - - 17 Years Ago
                         The BrowseDialog is, like all other SF classes, a class with...
Trent L. Taylor - 17 Years Ago
                             I will try to make a unique BD for all the project (my boss request...
Fabian R Silva, - - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search