473,834 Members | 2,095 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Questions concerning PropertyGrid?

Hi,

Two questions about PropertyGrid:

1. How can I achieve that one value in a PropertyGrid is treated as a
Password (like TextBox.Passwor dChar behaviour) ?

2. If you edit a TabControl in VS.Net there is a section in the Properties
Window in which you have two links to add and remove a TabPage (above the
description). How can this be done?

Regards Alexander
Nov 17 '05 #1
4 1966
Hope this article helps...

http://msdn.microsoft.com/library/de...ngpropgrid.asp
Regards,

Tim Haughton

"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in
message news:47******** *************** ***********@mic rosoft.com...
Hi,

Two questions about PropertyGrid:

1. How can I achieve that one value in a PropertyGrid is treated as a
Password (like TextBox.Passwor dChar behaviour) ?

2. If you edit a TabControl in VS.Net there is a section in the Properties
Window in which you have two links to add and remove a TabPage (above the
description). How can this be done?

Regards Alexander

Nov 17 '05 #2
I got thing with the links (btw. they are called verbs) but I have no idea
how to achieve the password issue...

I will read the article, but it does not seem that they tell something about
the editing process...

Anyone else got an idea?

Regards Alexander

"Tim Haughton" wrote:
Hope this article helps...

http://msdn.microsoft.com/library/de...ngpropgrid.asp
Regards,

Tim Haughton

"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in
message news:47******** *************** ***********@mic rosoft.com...
Hi,

Two questions about PropertyGrid:

1. How can I achieve that one value in a PropertyGrid is treated as a
Password (like TextBox.Passwor dChar behaviour) ?

2. If you edit a TabControl in VS.Net there is a section in the Properties
Window in which you have two links to add and remove a TabPage (above the
description). How can this be done?

Regards Alexander


Nov 17 '05 #3
There are two avenues you may wish to explore. The first is probably the
easiest, and that is simply pop a custom UI to enter the password using a
custom type editor. The second possibility would be to capture the
keystrokes at the form level before passing them to the ProperyGrid (See the
KeyPreview property). I'm not sure that you can discern which field has
focus on the PropertyGrid though, so that might be tricky.

Regards,

Tim Haughton

p.s. What are called verbs?

"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in
message news:B3******** *************** ***********@mic rosoft.com...
I got thing with the links (btw. they are called verbs) but I have no idea
how to achieve the password issue...

I will read the article, but it does not seem that they tell something about the editing process...

Anyone else got an idea?

Regards Alexander

"Tim Haughton" wrote:
Hope this article helps...

http://msdn.microsoft.com/library/de...ngpropgrid.asp

Regards,

Tim Haughton

"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in
message news:47******** *************** ***********@mic rosoft.com...
Hi,

Two questions about PropertyGrid:

1. How can I achieve that one value in a PropertyGrid is treated as a
Password (like TextBox.Passwor dChar behaviour) ?

2. If you edit a TabControl in VS.Net there is a section in the Properties Window in which you have two links to add and remove a TabPage (above the description). How can this be done?

Regards Alexander


Nov 17 '05 #4
That's exactly how I am doing it at the moment. I will take a look at the
KeyPreview thing, thanks.

Those links you can display below the actual properties in the property grid
are called verbs.

Regards

"Tim Haughton" wrote:
There are two avenues you may wish to explore. The first is probably the
easiest, and that is simply pop a custom UI to enter the password using a
custom type editor. The second possibility would be to capture the
keystrokes at the form level before passing them to the ProperyGrid (See the
KeyPreview property). I'm not sure that you can discern which field has
focus on the PropertyGrid though, so that might be tricky.

Regards,

Tim Haughton

p.s. What are called verbs?

"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in
message news:B3******** *************** ***********@mic rosoft.com...
I got thing with the links (btw. they are called verbs) but I have no idea
how to achieve the password issue...

I will read the article, but it does not seem that they tell something

about
the editing process...

Anyone else got an idea?

Regards Alexander

"Tim Haughton" wrote:
Hope this article helps...

http://msdn.microsoft.com/library/de...ngpropgrid.asp

Regards,

Tim Haughton

"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in
message news:47******** *************** ***********@mic rosoft.com...
> Hi,
>
> Two questions about PropertyGrid:
>
> 1. How can I achieve that one value in a PropertyGrid is treated as a
> Password (like TextBox.Passwor dChar behaviour) ?
>
> 2. If you edit a TabControl in VS.Net there is a section in the Properties > Window in which you have two links to add and remove a TabPage (above the > description). How can this be done?
>
> Regards Alexander


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2903
by: Terry | last post by:
I have a very basic program, but for some reason I can't get it to behave properly. What I want is a basic form with a TabControl that fills the entire form. The tab control should have 4 tabs with a single PropertyGrid control on each tab that fills it's parent's tab page's client area. Here's what I did. 1. Create a new project.
3
6053
by: Dave Girvitz | last post by:
I have a PropertyGrid (Windows Forms App) based component that uses TypeConverters to generate ranges of acceptable values for properties. The idea was that I could download the key/value pairs from a database and manipulate the TypeConverters dynamically. The property grid then displays the property with a drop down list. It does work when I open the application for the first time. If, however, I open the form and then open a second...
0
1432
by: micro_bug | last post by:
Now I am developing a tool, just like VS.net Form Edition environment. User can edit a component's properties by a PropertyGrid control. Now I have some questions about this PropertyGrid control: 1. How to verify a property's validifity? as you know, In VS.net, when we input a component name that is same with an existed name in the propertygrid, an error message will pop up: "Invalid property value". Now, my question is, how to implement...
1
11892
by: ANDRES BECERRA | last post by:
Herfried K. Wagner was kind enough to point me to the PropertyGrid control http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformspropertygridclasstopic.asp I have found a few samples of how to use the PropertyGrid control and have gained a decent understanding of it. But of course, as it usually the case, my needs go far beyond the simple examples shown in online samples. All the online samples show how to take a class...
7
9736
by: siddhiash | last post by:
Hi Friends I want to add PasswordChar Property which shows ****** for string which I type in PropertyGrid Control. Regards, Siddharth
4
1672
by: Yoram Biberman | last post by:
I have a few questions concerning concurrency control. I shall thank whoever can help me. Question #1 ========= Assume the following (concurrent) schedule, in which both transactions run in a serializable isolation level: T1 begin T2 begin T1 modifies an item A
6
6937
by: Steve Teeples | last post by:
Can someone show me an example of how to place a "CheckedListBox" property within a PropertyGrid? -- ----------- Thanks, Steve
4
18833
by: phcmi | last post by:
I have a PropertyGrid question. My task is to replace a legacy dialog box presentation with a modern one. The dialog itself allows the user to set configuration settings in our application, so it seems to me that a PropertyGrid is a perfect modern replacement. I won't bore you with the details with all the controls on the dialog since I'm only concerned with one issue. The legacy dialog contains a drop down list control that is...
3
4364
by: =?Utf-8?B?U3RldmVU?= | last post by:
Is it possible to hide a row within a PropertyGrid based upon the boolean value of another row within the PropertyGrid? I am using VS2005 with .NET Frameworks 2.0. -- ----------- Thanks, Steve
0
9643
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10503
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10544
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9326
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3079
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.