?
Solved

UserControl property with a dialog

Posted on 2006-11-03
6
Medium Priority
?
352 Views
Last Modified: 2008-03-10
Is there any way to create a user control with a property that will have a button that will bring up a separate dialog?
0
Comment
Question by:PLavelle
6 Comments
 
LVL 10

Expert Comment

by:Kinger247
ID: 17870364
not sure what you mean, whats this for ?
0
 

Author Comment

by:PLavelle
ID: 17870373
I want to create my own user control, then link a property grid to it. I want to user to be able to click on a Data row on the property grid and have another form that I have designed pop up.
0
 
LVL 19

Expert Comment

by:VoteyDisciple
ID: 17871111
Sure; you'd do it exactly the same way you'd ever have another form popup:

Dim frmX As New WhateverKindOfForm()
frmX.ShowDialog()
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:gangwisch
ID: 17871425
here are property grids being used:
http://www.codeproject.com/vb/net/using_propertygrid.asp

I hope this helps
0
 
LVL 7

Accepted Solution

by:
Mohamed Zedan earned 2000 total points
ID: 17872897
Here is what you need ...
 you need to create a uiTypeEditor inherited property edittor that displays a dialog window you will find the details here
in the Time property and design-time LEDEditor Section of  the aritcle
if you need more explaination post here ... :)

http://www.codeproject.com/vb/net/ledclock.asp
0
 

Author Comment

by:PLavelle
ID: 17880695
Perfect!! Thanks!!!!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses
Course of the Month9 days, 19 hours left to enroll

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question