?
Solved

Controls on grid

Posted on 1999-01-06
1
Medium Priority
?
212 Views
Last Modified: 2012-05-04
hi
how can i make/find grid that his cells are controls that i choose/build ?
for example if i make some new control (from Tcontrol class) and i want them to be shown on in the Grid cells ...
10x
asi
0
Comment
Question by:asi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 40 total points
ID: 1354815
There are some very good stringgrid controls like advgrid.zip on the DSP (http://sunsite.icm.edu.pl/delphi). Take a look at them and see if they do what you want to do .

If not you need to get your hands dirty and add the necesary properties to manage the new component as a property of the string grid and to tell the string grid which cells will display this control. Then when the user starts editing a cell with this control in it you will need to show the control in the correct position and allow the user to do their editing in that. SImilarly you will need to control the drawing so that the new control appears in the right way in the grid.

THere are a whole load of stringgrid controls with free source on the DSP as well (just search for 'grid' :-) These will also give you some good pointers.

Cheers,

Raymond.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

752 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