Hi all,
I have a disabled datagrid on my form. Disabling it was, it seemed, the
only way to prevent the user from being able to change the selected row or
modify the appearance of the grid in any way.
The problem is that I need working scrollbars on this grid, and disabling
the grid also disables the scrollbars.
Is there a way to get the grid to behave as though it were disabled, except
for it's scrollbars?
Thank you,
Jesse 3 997
I think if you set the DataGrid's ReadOnly property to true, that should do it.
"Jesse Aufiero" wrote: Hi all,
I have a disabled datagrid on my form. Disabling it was, it seemed, the only way to prevent the user from being able to change the selected row or modify the appearance of the grid in any way.
The problem is that I need working scrollbars on this grid, and disabling the grid also disables the scrollbars.
Is there a way to get the grid to behave as though it were disabled, except for it's scrollbars?
Thank you, Jesse
thanks, but what i'm after here is not a restriction on the editability of
the data in the grid, but on the appearance changes that a user can make by
clicking here and clicking there. Rows get highlighted, cells get
highlighted and have a dotted border around them. Scrolling is possible if
the user touches low enough on the bottom row. All these things I want to
prevent... and yet still have scrollbar functionality.
"Charlie" <cfarrier at charlesfarriers oftware.com> wrote in message
news:A0******** *************** ***********@mic rosoft.com... I think if you set the DataGrid's ReadOnly property to true, that should do it.
"Jesse Aufiero" wrote:
Hi all,
I have a disabled datagrid on my form. Disabling it was, it seemed, the only way to prevent the user from being able to change the selected row or modify the appearance of the grid in any way.
The problem is that I need working scrollbars on this grid, and disabling the grid also disables the scrollbars.
Is there a way to get the grid to behave as though it were disabled, except for it's scrollbars?
Thank you, Jesse
Hi,
Maybe this will help http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q855q
Ken
-------------
"Jesse Aufiero" <ja******@moabo il.com> wrote in message
news:eo******** ******@tk2msftn gp13.phx.gbl...
Hi all,
I have a disabled datagrid on my form. Disabling it was, it seemed, the
only way to prevent the user from being able to change the selected row or
modify the appearance of the grid in any way.
The problem is that I need working scrollbars on this grid, and disabling
the grid also disables the scrollbars.
Is there a way to get the grid to behave as though it were disabled, except
for it's scrollbars?
Thank you,
Jesse This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mark |
last post by:
O, woe is me, to have seen what I have seen, see what I see!
(That's Shakespeare for those who were wondering what I'm on about)
I am "having fun" with cookies.
And I wonder if I have missed something obvious.
|
by: Cedric |
last post by:
This is a 3 weeks old problem, but having found a solution (and having
looked for one here, finding only this message), I'm replying now.
From: Jive (someone@microsoft.com)
Subject: Upgrade woes: Numeric, gnuplot, and Python 2.4
Date: 2004-12-11 18:45:10 PST
> Here's my sitch:
>
> I use gnuplot.py at work, platform Win32.
> I want to upgrade to Python 2.4.
|
by: Angel Cat |
last post by:
Trying to get my jobs to send mail when job fails. Should be easy but
it's giving me headache
Had a whole slew of issues. Outlook is installed with a n outlook
mail profile set up that can send mail in outlook. I can create a
SendMail DTS and execute it to send mail
Email works in these scenarios
1. I create a DTS package in SQL Server with just SendMail with the
same Profile "ABC" and click Execute and it sends
|
by: Andrew Thompson |
last post by:
- NN 4.78 rendering woes, links at far left -
I am trying to rework an old site, make it valid html
and css, improving the x-browser and 'older browser'
compatibility. My efforts so far, have been abysmal.
See, for example, this screen shot of the very
simple home page, it is not even 10% finished,
but I have already run into problems.
http://www.physci.org/test/xbrowser/nn478home01.png
|
by: Paul Sampson |
last post by:
Hi,
I have a typed dataset working nicely, bound to my datagrid (Windows forms)
using stored procs for insert/update/delete.
The first column contains the primary key of the base table, so when I add a
new record it inserts into the dbase fine. However the PK column still shows
(null), meaning it hasn't refreshed back from the database. What's the best
way to get back the PK and insert it into my Dataset and grid?
| |
by: John Smith |
last post by:
Hello all:
What is the best way to get a reference to an item selected in a data
grid? What I am trying to do is have it so a user can select from a
list in a data grid of all our employees and then click a button to
update that employees details. What is the best way to accomplish this
so that you can then bind this data to the next form?
Thanks,
|
by: John Hopper |
last post by:
Can someone please tell me why the datagrid doesn't databind and display rows
once the Add button is clicked and the cmdSaveToDataset event fires, to add a
row to the dataset? I've copied the code:
-------------------
Public Class WebForm1
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
|
by: CJ Taylor |
last post by:
Alright, so this is strange. someone let me know if this is a *bug* or not.
Whenever I would use Dataset.Merge(datarows()) method, I would always get an
exception (IndexOutOfRangeException) on the currency manager after a paint
was fired on the datagrid controls.
Old code was
currMan.Suspendbinding()
|
by: Dhruba Bandopadhyay |
last post by:
I need advise on ASP.NET & XML.
I got a Web Service that I call in real-time to generate a XML document (in
main memory, not file). I could use the .NET built-in XML document
generation classes, but Web Service does the same I guess.
1. Is it possible to feed this XML document object into a DataGrid/View/List
without saving the XML object to file? I seen examples where they load the
XML document from file. I don't want to do this as I...
|
by: barbara_dave |
last post by:
Hi All,
I'd like to add numericUpDown controls in every cell of a column of a
datagrid. Is there some sample code I can get for reference?
Thanks In Advance!
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |