Solved

UserControl property with a dialog

Posted on 2006-11-03
6
327 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 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