Solved

Make a datagrid column a control

Posted on 2011-03-25
9
493 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
 

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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

8 Experts available now in Live!

Get 1:1 Help Now