all groups > dotnet windows forms > october 2004 > threads for tuesday october 12
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Grid problem due to null fields?
Posted by B. Chernick at 10/12/2004 8:35:10 PM
I've just created a fairly routine grid but I have a problem that seems to be
caused by the query. The query is a Left outer join consisting of 5 fields
and the last two are frequently Null. The configuration of the grid is
fairly routine and I've done it like this dozens of times - create a... more >>
form inheritence..
Posted by nomenklatura at 10/12/2004 6:29:33 PM
hi,
in our project there are a lot of forms..and in each form we used keydown
event for shortcuts..for example we uses F2 to call save function ,and f3 to
call close form function..but each forms' save function perform different
tasks...
is there a way providing us not to write keydown event c... more >>
Modifying another forms properties?
Posted by Chris Ashley at 10/12/2004 3:15:54 PM
I have a main form with a panel in which loads other forms. How can I let
the forms loaded into panels modify properties of the main form?
If I use:
FrmMain.Text = "Whatever"
from my panel form, I get the error: "Reference to a non-shared member
requires an object reference.". Do I need... more >>
vb.net startup
Posted by Brian Fulford at 10/12/2004 2:49:23 PM
This is my first shot at a Winforms application in dot net. This application
is mainly going to run unattended but is using a form to display current
activity of the background processing. In VB6, I could set the startup to be
Sub Main and then call frmMain.Show and the program would continue
pr... more >>
User Control Event Handling
Posted by Jason MacKenzie at 10/12/2004 2:49:15 PM
I have a user control (inheriting from System.Windows.Forms.UserControl)
with a button on it. I've added the control to the toolbox and have dragged
it onto a form from another project.
How can I capture the click event of the button in the parent form?
Currently nothing happens when I clic... more >>
Create a ToolBar Application
Posted by Eric Renken at 10/12/2004 2:36:28 PM
I would like to know if there is any documentation on how you can create,
what I am calling a "ToolBar Application". An application like the Google
or Windows Media Player bars that can sit in the TaskBar as ToolBars. I
want to be able to right click on the TaskBar and select ToolBars and se... more >>
Wrap Winforms DataGrid header
Posted by dcyr at 10/12/2004 2:21:07 PM
I'm looking for a way to wrap a text in Winforms DataGrid header (see below).
I know it can be done to the cells in the grid by overriding the paint method
but i can't seem to find a similar way to handle the column headers. Any help
would be much appreciated.
ex: _______________________
... more >>
StatusBar Text not updating
Posted by dumbledad NO[at]SPAM gmail.com at 10/12/2004 1:29:32 PM
Hi All,
I have an event handler on the UI thread containing the following lines
of code:
statusBar1.Text = e.msg;
System.Diagnostics.Debug.WriteLine(e.msg);
This is then called repeatedly from the worker thread as it reads lines
from an NNTP server.
The first few thousand calls are wr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Cannot access a disposed object name "DataGridTextBox"
Posted by Jevelson at 10/12/2004 1:09:09 PM
HI,
I am have attached DataGrid to DataSets.
When I try to hit delete key, and then closing form gives me following error
message
Cannot access a disposed object name "DataGridTextBox"
Object name "DataGridTextBox" .
Details
----------------------------------------------------------... more >>
Custom rendered controls in a DataGrid?
Posted by Mats-Erik Grundh at 10/12/2004 10:56:40 AM
Custom rendered controls in a DataGrid?
Is it possible to have a custom control column i a datagrid that render html
(richtext and images) without moving to that column.?
Thanks in advance!
... more >>
DataGrid - Enter Data to cell which is not in edit mode
Posted by orianavim NO[at]SPAM hotmail.com at 10/12/2004 10:42:19 AM
Hi,
I have a grid which I'm entering data into and I'm looking for a way
to do the following:
By default, the active cell is NOT in edit mode (the cell is marked
but without curser inside). I want that once the user click on any
key, we change the cell to be in edit mode and add the first k... more >>
Why the Dataset is not the same?
Posted by mohamed.gad NO[at]SPAM gmail.com at 10/12/2004 10:16:10 AM
Hello,
I hope if anybody could help me in this situation:
I have a Dataset that I fill using some sort of Business Objects Class
from Oracle 8i (using OLEDB NOT ORACLE Client) and there is None
English Characters (Varchar2) Esp. Arabic charset. so, when i fill the
dataset in the datagrid (W... more >>
Treeview - Get selected node?
Posted by Chris Ashley at 10/12/2004 9:56:05 AM
I'm trying to use a treeview for navigation in my windows forms app. How do
I find the currently selected node? If I use Treeview.SelectedNode.Index it
doesn't tell me where in the hierarchy the node is so I get the same number
more than once.
... more >>
Inherited Form
Posted by Jason MacKenzie at 10/12/2004 9:10:58 AM
I've created a base form that I want other forms to visually inherit from.
I've created the base project, added a form, thrown some buttons on it and
recompiled it as a class library.
I then added another project to the solution. I added and inherited form.
In the designer it looks great. H... more >>
StatusBar Text not updating
Posted by dumbledad NO[at]SPAM gmail.com at 10/12/2004 8:54:52 AM
Hi All,
I have these two lines of code in an event handler:
statusBar1.Text = e.msg;
System.Diagnostics.Debug.WriteLine(e.msg);
For the first twothousand or so events both lines work, but after a
while the status bar text is not updating, though I can see the e.msg
text in the debug outp... more >>
Exposing UserControl Constituents
Posted by Jokra at 10/12/2004 8:37:05 AM
MAIN FORM: In my main form I have a treeview control docked on the left and a
panel control filling the rest of the form.
USER CONTROLS: I am constructing separate user controls to be displayed
within the content area of the form when a tree node is clicked. Each user
control has a panel cont... more >>
Application Parameter Storing - Best Practices
Posted by HughJam at 10/12/2004 7:43:03 AM
Hi!
I am new to Windows Forms, but battle-scarred in WIN32 API Windows. I am
developing a forms application that needs to save the users settings (DB
settings, profile selections, etc). I am looking for the best place/way to
store these settings by user.
The appconfig protocol prevents t... more >>
Posting the current row
Posted by BryanShaw at 10/12/2004 6:43:03 AM
I have been trying to follow the Building an N-Tier Application in .NET
Technical Article that Paul Sheriff wrote. I am having trouble, however,
with one particular aspect and I was wondering if you could help me.
The problem centers around bound controls on the Client application. If you
... more >>
form not refreshing when clicked
Posted by Rich at 10/12/2004 5:03:06 AM
Hello All,
I have a windows application where I am running a bit of code in a module
and updating a multi-lined textbox control on a form for each line of code
executed.
example:
purged old records
adding new records
updating tables with new record information
etc.
This is working w... more >>
Thread Exception disposes Form Object
Posted by sunil NO[at]SPAM volcanomail.com at 10/12/2004 4:57:30 AM
Dear All,
I am creating my startup Form in a new thread the following way...
Thread oFormThread = new Thread(new ThreadStart(AddFormInThread));
AddFormInThread
{
Application.ThreadException += new
ThreadExceptionEventHandler(OnFormThreadException);
oHiddenForm = new frmStartup(this);
... more >>
Transferring data from client to web server
Posted by Fred Herring at 10/12/2004 4:43:09 AM
I use compress byte arrays for sending data from my client applications to my
web service. It has always confused me when folks talk about converting byte
arrays to base 64 since I have never found this necessary. Can someone
please explain to me the difference between sending a regular byte... more >>
Hide Scrollbars on ScrollableControl
Posted by MikeH at 10/12/2004 1:17:02 AM
I am trying to create a grid-like control containg a header for column
headings and a body for row data.
To do this I inherit the header and body from ScrollableControl and have
synchronised the scrolling between them such that scrolling the body
horizontally will also scroll the header.
... more >>
|