• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

UserControl property with a dialog

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
PLavelle
Asked:
PLavelle
1 Solution
 
Kinger247Commented:
not sure what you mean, whats this for ?
0
 
PLavelleAuthor Commented:
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
 
VoteyDiscipleCommented:
Sure; you'd do it exactly the same way you'd ever have another form popup:

Dim frmX As New WhateverKindOfForm()
frmX.ShowDialog()
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
gangwischCommented:
here are property grids being used:
http://www.codeproject.com/vb/net/using_propertygrid.asp

I hope this helps
0
 
Mohamed ZedanCommented:
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
 
PLavelleAuthor Commented:
Perfect!! Thanks!!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now