473,786 Members | 2,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP : PropertyGrid and Objects

You have certainly noticed that PropertyGrid control shows Point, Size,
Array, etc. properties of objects with the + sign left to it, and by
pressing it you can expand child properties of Point, Size, etc... (like X,
Y, Height, Width)!
You can edit them one by one, and you get better look on every one of them
(especially for arrays).

How can I do that for my own class? What do I need to implement?
Nov 13 '05 #1
0 1626

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

Similar topics

4
3671
by: Faheem Mitha | last post by:
Dear People, I have the current modest goal. Given a user defined class, I want to creata an array of instances of that class. Consider the following class. class cell: def setrow(self,row): self.row = row
3
1434
by: bens | last post by:
I'm trying to return an 'mmap' object from a function. The return works, but some of the object's methods crash. Here are two examples doesntwork.py --------------------------- import mmap import os name="/any/real/file/on/my/hard/drive"
3
1353
by: Brian Dumas | last post by:
I would like to do something like the following class TMyClass { ...... } TMyClass* mc1 = new TMyClass; TMyClass* mc2 = new TMyClass; TMyClass* mc3=mc1+mc2;
3
2278
by: Andy | last post by:
Hi Using IE6. I have a textbox in a form. The form is called 'form1' and the textbox is called 'textfield1'. I have an onBlur event on the textbox to check its contents is an integer thus: <input type="text" name="textfield1" onBlur="checkInteger(this);"> The function checkInteger(this) is :
2
1295
by: stuartshay | last post by:
Hello All: I am trying to figure out how to use objects properties in my code so when the page loads All my properties are in object where I can use elsewhere in my page. I am new to JavaScrip Objects so any help would be appreciated. Thanks SPS
7
2091
by: Crirus | last post by:
Is there a way to catch undisposed objects that only occupy memory, in order to call dispose for them? I may be forgetting to dispose fonts, pens, graphics sometimes... how to find them (without reading the whole code again:)) -- Cheers, Crirus ------------------------------
1
2339
by: davem11677 | last post by:
I hope someone can help. I am trying to write a Java program that will pass an Int-type, String-type and an object into an array that will loop 100 times, filling it with the items in parentheses. I have no clue how to accomplish this as I am brand new to Java and to programming in general. The last method is the one I need help filling. Please help!! public class Locator { // array sizes (and limits) private final static int...
2
1521
by: cuj0 | last post by:
I'm having problems with the ouput from xsl transformations when an extension object is involved (note: I am new to this so please be gentle). For example, I have copied Microsoft's example code (C#) from this link and run the project successfully on my machine: http://msdn2.microsoft.com/en-us/library/system.xml.xsl.xsltargumentlist.addextensionobject.aspx However, I notice that the output contains xmlns:myObj="urn:price-conv" in the...
1
1553
by: MikeZdoesit | last post by:
Hi, I'm having trouble with setting up a shared object and I really need some help from someone more enlighten then myself in the field of actionscript :) Basically I have a talking character that introduces a site and says hello (basically an intro) but I don’t want him to repeat his speech every single time the area gets refreshed or the page gets revisited. On top of that I don’t want the speech to get skipped once and never seen again, I...
1
10110
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
9964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
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...
0
6749
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();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
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
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.