473,385 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Property Grid Help retry

ok will try again on this forum
to bee clear i'm using vb.net 2005. so on to the problem
i've search the net extensivly and can not find a clear example on how to acomplish what i'm trying to do. So here it is, i'm using the property grid to display alot of properties derived from an INI file. everything works fine but now i'm trying to tweek one part of it. First off let me tell you that i have a lot of com port on this pc(16), the INI file holds the port# for specific parts of this piece of equipment. 8 of them are for motor controllers. ok heres the real problem, i can get the port name from the INI file and assign it to a property but what i would like to do it make each motor controller have it own port properties that are exspanded from the main name. Example

+MotCon1

sub property Port Name (i.e COM1) as string
i want this to be a drop down list of availiable comports from a PC * i know how to get them and list them in its own property but not in a expandable one

sub property BuadRate as a list of integers representing common Baud speeds
i want this to be a drop down list of availiable comport Buadrates *can be a predeterimined list

sub property Databits as a list if integers 4 thru 8 as a list of integers

sub property Paritybits as parity type as a drop down list of parity types
sub property Stopbits as stopbit type as a drop down list of stopbits type

+MotCon2
Same as above

now with that said i know how to get and set the values from the INI file but am having troubles with the converters. i know i need to use a type converter and the expandable property but not sur how to do this correctly.
1) do i need to make a type converter for each type or is ther a generic converter
2) how to intergrate all these properties w/applicable convert into one property names MotCom1
any help would be greatly appreciated. thanks
Feb 15 '08 #1
1 1342
Wow as usual on this forum the feedback has been stellar(not). So with that i say adue good day avitasen see ya.
Feb 25 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Robert Brewer | last post by:
Alex Martelli wrote in another thread: > One sign that somebody has moved from "Python newbie" to "good Python > programmer" is exactly the moment they realize why it's wrong to code: > > ...
0
by: Andreas Poller | last post by:
Hi, I want to customize a Property Grid in the following way: The Property Grid should show a property which value should be changed by a dropdown-listbox. For example, there is a property...
0
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control...
3
by: Steve Teeples | last post by:
I was wondering if there is a way to force a property within a property grid to update and then display a modified value when when a second property (true/false) is toggled? -- Steve
1
by: John Kraft | last post by:
Hi all, I'm trying to use a property grid, and what I'm trying to do seems to really elude me. I've been using the property grid for a short period of time, and this is the first thing I...
0
by: Hans Koller | last post by:
Hello group, I design a class to bind it to a property grid for easy modification of some settings. My problem is now that I want to raise an event when a settings has been changed. Thats not a...
1
by: =?Utf-8?B?TG95b2xhIHN0YWxpbg==?= | last post by:
Hi, I am using ASP.Net 2.0 version and Windows'XP OS. I am useing the Grid view control to display the user details along with the paging concept provided by the grid view control. When i...
1
by: asharda | last post by:
I have a custom property grid. I am using custom property grid as I do not want the error messages that the propertygrid shows when abphabets are entered in interger fields. The custom property...
10
by: Derek Hart | last post by:
I can set focus to my property grid by using propgrid.Focus - but how can I set the default property that is always first? Or just set focus to the default property? Can this be done?
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.