Browse Dialog - Can i do a template for use it in many forms?


Author
Message
Luiz Lima
Luiz Lima
StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)
Group: Forum Members
Posts: 66, Visits: 724
Hi.

I´m a novice StrataFrame Developer (and VB also..lol)

I´d like to know if is possible to create a template to do Customer´s BD to use it in a whole project (many forms), without configure it manually in design mode.

A solution that would be easy if i could configure it programmatically using properties.

I hope to hear some help from you.

PS: Sorry by my poor english

Tks

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Yes, it is actually very simple. The easiest way is to just do the following:



1. Create a new component class

2. Name it the name you want your browse dialog to be

3. Change the inheritance of the class from Component to MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog

4. Once this is done, you will just double-click the BrowseDialog class from the Solution Explorer to open the designer and from that point forward you will just set the properties like you would if it were on a form. After this, just drop it on a form and go.
Luiz Lima
Luiz Lima
StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)StrataFrame User (134 reputation)
Group: Forum Members
Posts: 66, Visits: 724
Trent,

Tks... i´ll try to do that....

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