Home
Virtual Image Printer DriverMiraplacid Publisher converts documents to images
Virtual Text Printer DriverMiraplacid Text Driver extracts text from documents
Miraplacid Data ViewerMiraplacid Data Viewer - access to internal structure of a binary file
Miraplacid Text ViewerMiraplacid Text Viewer - access to internal structure of a text file
Common:   Login | Rules of forum | Register
Management:  New topic | Close topic | Move topic | Delete topic
  

Miraplacid Forum >> Software Development >> Visual Studio 7 questionModerator:XMan

Author Topic:  Visual Studio 7 question
Kevin Appler
Member

From: USA
posted 2004-04-01 01:17:37 Reply -Delete

Is it possible to edit a component not listed in the toolbar with form deisgner?
I'm talking about PropertyGrid.
Or Form Designer is limited to "Standard" components?

Barbara
Member

From: AU
posted 2004-04-02 11:23:44 Reply -Delete

Yes, it is possible to make any visible component editable in Form Designer.
Just do this.
1. declare your property grid just next all the other components

private System.Windows.Forms.PropertyGrid pg;

2. in the #region Windows Form Designer generated code,
in the
private void InitializeComponent()
create the PropertyGrid
this.pg = new System.Windows.Forms.PropertyGrid();
configure it and add to form or panel
this.property_panel.Controls.Add(this.pg);

Compile the application and open form in Form Editior.
You not only can size or move the Property Grid just like any other control,
you can change it properties in the Visual Studio Properties window.

Your message:
Name, password:
Go to category:  

Technical Support

Copyright © Miraplacid, 2003 - 2019