johan.claes2@pandora.be
New member
- Joined
- Dec 18, 2004
- Messages
- 1
- Programming Experience
- Beginner
Hey , I am trying to create a usercontrol.
This is my problem.
How to make that the property can open a dialog ( filedialog )
I don't know how I can create the button in the property window.
Like you can see when you use a ImageBox to select the image.
Can you help me ?
Thanks
The code is Wrong !!!
<Description("Gets KeyWords from File."), Category("RTF InterFlash")> _
PublicProperty GETKeyWordsFromFile() As OpenFileDialog
Get
Return System.IO.Path.GetFullPath
EndGet
Set(ByVal Value AsString)
GETKeyWordsFromFile = Value
EndSet
EndProperty 'Get File Path From Dialog
This is my problem.
How to make that the property can open a dialog ( filedialog )
I don't know how I can create the button in the property window.
Like you can see when you use a ImageBox to select the image.
Can you help me ?
Thanks
The code is Wrong !!!
<Description("Gets KeyWords from File."), Category("RTF InterFlash")> _
PublicProperty GETKeyWordsFromFile() As OpenFileDialog
Get
Return System.IO.Path.GetFullPath
EndGet
Set(ByVal Value AsString)
GETKeyWordsFromFile = Value
EndSet
EndProperty 'Get File Path From Dialog