Solved

VB.net DataGridView resizing

Posted on 2013-05-11
5
459 Views
Last Modified: 2013-05-14
Hi

I have a DataGridView on a TaskPane in my VB.net Excel add-in.
I need the user to be able to resize the DataGridView, which is placed
in a very specific part of the TaskPane so as to be visible.
I tried using the dock property as suggested in an article I found,
but it moved the DataGridView away from its visible location
0
Comment
Question by:murbro
  • 2
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Ioannis Paraskevopoulos
ID: 39159187
Hi,

Have a look at this article.

Giannis
0
 

Author Comment

by:murbro
ID: 39159820
Hi
Which article?
0
 
LVL 23

Accepted Solution

by:
Ioannis Paraskevopoulos earned 250 total points
ID: 39159868
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 250 total points
ID: 39165142
You want datagridview to resize itself as the task pane gets resized right? Try setting its Anchor property to all four sides.
0
 

Author Closing Comment

by:murbro
ID: 39165174
Thanks very much
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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