Solved

How do i create a property pane?

Posted on 2002-05-28
1
169 Views
Last Modified: 2010-05-02
Hi there,

In my application i need to create a property pane,
much like the property page in the vb ide.  The pane contains the different property names and next to it their values.  The idea is that the pane can contain 2 types of properties.  Free text and options.  For the free text i know i can use a grid control.  But what should i use to display the options in a dropdown box IN the grid?

Does anyone have some good code examples?

Thanks in advance.
0
Comment
Question by:wvandeneede
1 Comment
 
LVL 43

Accepted Solution

by:
TimCottee earned 200 total points
ID: 7038654
You can always use a combo box, the key is to know which type of grid you are using. In essence though on the _EnterCell() event or equivalent of your grid that requires the combo box you place a previously hidden combo over the cell and setfocus to this. You can then use the combo as if it were part of the cell and use the Click event of this to save the value to the cell itself.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now