all groups > dotnet windows forms > march 2005 > threads for tuesday march 22
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
UNANSWERED: how to insert a null value in a datagrid datetime field
Posted by Tim Mackey at 3/22/2005 6:17:41 PM
hi,
i found 2 unanswered posts for this problem by William Oliver on 5 Aug 2002
and on 29 Aug 2002 by Fabio Maresca.
here is our problem:
i have a datagrid, with a datetime datacolumn. when i delete the value in
the cell and then click outside the cell, it inserts 01/01/0001.
i have Allo... more >>
Resizing a button
Posted by Z at 3/22/2005 5:53:02 PM
Hi,
I want to resize a button depending on its label.
I do this:
// In Form1 ctor
Graphics gr=button1.CreateGraphics(); //
button1.Size=gr.MeasureString(button1.Text, button1.Font).ToString();
but the buttin misses the last letter. It wont work even if I round up the
SizeF value retur... more >>
Datagrid Column Format
Posted by Shariq at 3/22/2005 4:27:03 PM
I have the following VB.Net code which displays a 2-digit value from the
database. How do I format this column display in a 5-digit format (00012)?
oTextCol = New DataGridTextBoxColumn
oGridStyle.MappingName = "MyMapping"
oTextCol.MappingName = "MyData"
oTextCol.HeaderText = "My Data"
oT... more >>
a form without an icon but with close, minimize & maximize buttons
Posted by Cristian Balcanu at 3/22/2005 4:23:12 PM
Hi
I want to create a Form that don't have an icon in title (as it is for
ControlBox = false) but with close, minimize and maximize buttons. Even this
seems trivial to me I coudn't do-it.
(Setting form.Icon property to null was what I expected but don't woked. )
I'm using VStudio 2003 (... more >>
Possible to Remove BindingMangerBase from Control.BindingContext?
Posted by Nathan Ernst at 3/22/2005 3:27:01 PM
I've got a situation where I have a DataGrid with a complex databinding to
an object. Something along the lines of:
datagrid.SetDataBinding( obj, "SomeProperty.List" );
....where obj has a property, "SomeProperty" that returns an instance of a
class with a property "List" of type IList.... more >>
Where is the smart client gets downloaded to?
Posted by Ronen at 3/22/2005 12:51:02 PM
Hi
I have a smart client on my local machine. After I start the application
from the url ("localhost://mypage/sc_app.exe") I would like to know where is
it getting downloaded to? I searched the winnt/assembly but its not there.
Thanks
Ronen
... more >>
Long tooltip hangs Windows XP SP2 with Intel 82865G graphics contr
Posted by Rick at 3/22/2005 12:31:05 PM
The code below for a simple .net c# windows app with a property grid and a
very long string for a property value causes Dell GX270 PCs with Intel 82865G
graphics card with the latest driver (6.14.10.4020) to hang and require a
hard reboot, when the tooltip is shown.
The computer appears to ... more >>
RichTextBox statusbar overlays horizontal scroll ba
Posted by Mark03057 at 3/22/2005 12:03:01 PM
I created a form containing a RichTextBox and set the ScrollBars property to
ForcedBoth and WordWrap is False; however, when I add a StatusBar to the form
the horizontal scroll bar disappears and is not available.
in Design mode i can see the StatusBar overlays the scroll bar, i would have
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Graduated Color Windows Forms
Posted by snesbit at 3/22/2005 11:24:41 AM
I want to create form background themes similar to powerpoint.
For example, the top 1/4 of the screen would be a slightly darker (of =
the same color used for screen background)
and the bottom 1/4 of the screen woud be slightly =
darker (of the same color used for screen ba... more >>
prevent multiple rows select in datagrid
Posted by geoffbishop NO[at]SPAM gmail.com at 3/22/2005 11:15:45 AM
The FAQ explaining how to prevent multiple-selection in a DataGrid does
not seem to exist any longer. Can someone point us to the new
location, or post an actual example please?
... more >>
MDI parents forms and controls
Posted by Joe_Black at 3/22/2005 11:08:46 AM
Hi all,
I have a Form that I have assigned as an MDI Parent, on this form is a
menu, a panel(on the far left side of the form), and on the panel a
couple of controls. Now when I create a new form and assign as a mdi
child to my main form its does exactly what its meant to do and only
exis... more >>
Icon on Form and App
Posted by Roger Webb at 3/22/2005 10:39:16 AM
Hey All,
I seem to be having a bit of trouble with assigning an ICON to a form..(Or
App). I've got an ICON file (Created from within the IDE) that I modified,
and saved. The File on disk displays the picture in Windows Explorer.
However, when I attached it to my form via the ICON property, it... more >>
popup form
Posted by TheOne at 3/22/2005 8:58:52 AM
Hi I would like to have some kind of popup form that will display "search in
progress" or something else. On the main form once a user clicks on search I
would like to open another popup form and display message. Once I get
results back I would like to close that form and go back to main search
... more >>
Property Grid
Posted by shiretu NO[at]SPAM gmail.com at 3/22/2005 8:51:56 AM
Hi,
Is there any method to add some new buttons ont the property grid
toolbar?
I've try to add a button using the following code but doesn't work. I
get an exception.
((ToolBar)this.propertyGrid1.Controls[0]).Buttons.Add(new
ToolBarButton("sample"));
The first element in the `Controls... more >>
MessageBox appears behind forms
Posted by David I A Grant at 3/22/2005 7:35:08 AM
Hello,
I have an application which consists of 11 forms. At times I use the
MessageBox.Show(owner, ...) to display messages or ask questions of the user.
The application often gets into a state where these boxes appear behind the
forms instead of in front of them. e.g. I click the cross ... more >>
Coverting the Enter Key to a Tab in C#
Posted by Dave McCloskey at 3/22/2005 7:27:04 AM
I need to intercept the enter key and convert it to a tab character in C#.
It was very simple to do in VB6, however, I have not found any references in
..NET. People I work with expect to use "Enter" rather than "Tab".
--
Take Care,
Dave... more >>
TreeView - Urgent!!!!
Posted by Marcus VinÃcius M. Montezano at 3/22/2005 7:11:06 AM
Hi People!
Well, I'm trying to use a tree view by the first time, and I've alrealdy
read a few articles from msdn about working with it. But, this is the
big deal, my tree view will be populated dinamically, then I add a root
knot and inside of it, I add the other knots.
Until I get that, ... more >>
Previous tab control
Posted by news.microsoft.com at 3/22/2005 1:58:32 AM
in the SelectedIndexChanged how can we know which is the previous tab or
control that the user came from?
I know we could put code in "on focus lost" to set it to the previous
control, but is there any c# method that lets us do it ?
Thanks
HS
... more >>
Add icons to a context menu
Posted by Francesco at 3/22/2005 1:45:03 AM
Hello,
does someone know how to add icons to context menus ? Is it possible ?
Francesco... more >>
Proposed MSDN Subscription Changes - VERY BAD!!!
Posted by news.microsoft.com at 3/22/2005 1:22:08 AM
I urge every developer who has an MSDN subscription (Universal) to petition
MS to change their proposed ideas on Visual Studio Team Suite (VSTS).
Depending on what you read, they are proposing to not include it or raise
the price to between $5,000 and $10,000. Every developer who has helped M... more >>
|