Solved

Make a datagrid column a control

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

How can I make a datagrid column a form control.

Thanks
0
Comment
Question by:RIAS
[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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

738 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