[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

Make a datagrid column a control

Hi,

How can I make a datagrid column a form control.

Thanks
0
RIAS
Asked:
RIAS
  • 5
  • 4
1 Solution
 
gamarrojgqCommented:
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
 
RIASAuthor Commented:
It should be  a form control

Cheers
0
 
gamarrojgqCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
RIASAuthor Commented:
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
 
gamarrojgqCommented:
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
 
RIASAuthor Commented:
Hi,
Thanks a million mate...will try and get back by today after tryig the link solutions....
ttgeneric is a generic form.


Cheers
0
 
RIASAuthor Commented:
Hi,
Thanks for link.But is there anyway of isplaying a celltip without the event of fetch celltip.
0
 
gamarrojgqCommented:
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
 
RIASAuthor Commented:
Worked like charm!!!Cheers mate
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now