Solved

UserControl property with a dialog

Posted on 2006-11-03
6
321 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…

831 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