Solved

Make a datagrid column a control

Posted on 2011-03-25
9
512 Views
Last Modified: 2012-06-27
Hi,

How can I make a datagrid column a form control.

Thanks
0
Comment
Question by:RIAS
  • 5
  • 4
9 Comments
 
LVL 13

Expert Comment

by:gamarrojgq
ID: 35216906
Hi,

You mean that the column instead of just show the data, you want that use a control?

what control you want to use? the datagrid allow the following column type

Button
Checkbox
Combobox
Image
Link
Text (this is the default)


0
 

Author Comment

by:RIAS
ID: 35217007
It should be  a form control

Cheers
0
 
LVL 13

Expert Comment

by:gamarrojgq
ID: 35217046
Ok, let me get this straight, you want to use a datagridcolumn like you use a form control (Textbox, Label, etc) so you can select it from the toolbar and drop it in a form? is that what you want?

If it so, you can create a usercontrol and add a datagridview with 1 column, but what do you want to accomplish?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:RIAS
ID: 35217154
Hi,
I ma using a true dbgrid component1 .
Need to set a tooltip on the columnheader

Currform.ttGeneric.SetToolTip(CEHctrl.Ctrl, CEHctrl.Ctrl.Tag)

Now the  problem is parameter datacolumn of grid cannot be acontrol...CEHctrl.Ctrl

Cheers
0
 
LVL 13

Accepted Solution

by:
gamarrojgq earned 500 total points
ID: 35217231
ok, are you using the Celltips of the true dbgrid?

http://helpcentral.componentone.com/nethelp/c1truedbgrid/default.htm?turl=contextsensitivehelpwithcelltips.htm

what is ttGeneric? a tooltip control?

0
 

Author Comment

by:RIAS
ID: 35229596
Hi,
Thanks a million mate...will try and get back by today after tryig the link solutions....
ttgeneric is a generic form.


Cheers
0
 

Author Comment

by:RIAS
ID: 35231424
Hi,
Thanks for link.But is there anyway of isplaying a celltip without the event of fetch celltip.
0
 
LVL 13

Expert Comment

by:gamarrojgq
ID: 35232982
Ok the other way will be with a ToolTip control, but if you said that ttGeneric is a Generic Form what is
Currform? and what does the SelToopTip method on your generic form?
0
 

Author Closing Comment

by:RIAS
ID: 35233167
Worked like charm!!!Cheers mate
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
update textboxes with Streamreader 21 47
Change Format on Data when exporting to Excel 4 33
SQL LINE CONTINUATION ISSUE 12 33
get column names from table in vb.net 8 28
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

772 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