all groups > dotnet windows forms > september 2003 > threads for thursday september 4
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
read-only vs locked textbox
Posted by dennist at 9/4/2003 11:28:24 PM
the read only property is no substitute for the locked
property of a textbox in vb6. The read only property
allows the text to be changed or wiped out
programmatically. You simply can't change it by clicking
in the textbox and start typing.
Is there any way the this grand new world of v... more >>
Docking 2 controls to share space
Posted by Scott Hodson at 9/4/2003 11:08:23 PM
I have two data grids, 1 on the left of a form and 1 on the right side, and
as I expand the size of the form I would like them both to fill the new
space, each grid always taking up 50% of the available space.
I tried this setting both of their Dock properties to Fill but they both
take up 100... more >>
Detecting When An MDI Child Is Closing
Posted by Mike at 9/4/2003 6:00:22 PM
I've found that if the user clicks the Close button or clicks to use the
Control box when closing a child form, it doesn't initiate an event in the
main form even though I've tied Ctrl+F4 to a main form event,
"FileClose_Click", for some additional processing. So, using Ctrl+F4 or
File\Close fr... more >>
datagrid scrolling/ threading problem
Posted by hs at 9/4/2003 4:24:59 PM
Hi Everyone,
I'm having a few problems with events, threads, datagrid scroll and
refreshing (winform).
I have a datagrid whose datasource is a dataset. This dataset contains a
subset of the records requested. When a datagrid.scroll event is triggered -
1) I check the current subset (chunk) of d... more >>
Getting the value of an MDIParent control
Posted by Mark at 9/4/2003 4:17:05 PM
I'm creating a simple mdi windows forms app. I have some radio buttons on
the MDI Parent that I want to access from the child forms. Is there any
other way to access the control than by using the index of the control in
the Parent's controls collection?? There has to be a way to get it by name.... more >>
Bugs with virtual list-view
Posted by Kevin Westhead at 9/4/2003 4:10:14 PM
I'm working on a virtual list-view control derived from
System.Windows.Forms.ListView, however I've been running into problems
because the base control thinks it owns the items in the list. For example,
I get the following exception whenever the control receives focus:
Specified argument was o... more >>
Docking controls on Windows Forms
Posted by Leon Jollans at 9/4/2003 3:58:43 PM
I've been having loads of problems with this. Coming from Java I never had
this problem with the LayoutManagers, but it keeps happening in the VS.NET
designer, and I don't know where the issue's coming from.
Say I have a form and place two controls on it - in this instance a
CrystalReportViewe... more >>
Strange problem when doing databinding to a combo box - Please Help
Posted by CGuy at 9/4/2003 3:55:56 PM
URGENT HELP REQUIRED FROM GURUS
Hi,
I have a custom object that implements ICollection and IListSource. This
object has also an enumerator defined for it which implements IEnumerator
and IList. Now, I'm trying to bind object to a combo box. The bidning
happens correctly, but I'm unable ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Datagrid column font change
Posted by Steven J. Reed at 9/4/2003 3:32:42 PM
I am attempting to change the font and color on a column
of data within my datagrid. I have included the following
code:
Dim dgtxtLinks As DataGridTextBox
dgcsBrowse = New System.Windows.Forms.DataGridTextBoxColumn
With dgcsBrowse
.Format = ""
.FormatInfo = Nothing
.HeaderTe... more >>
Image in Winform Header?
Posted by mCompany at 9/4/2003 3:26:04 PM
Is there a way to put a "background" image in the header of a winform?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
MDI child forms leave control boxes after they are closed
Posted by David Burson at 9/4/2003 3:16:59 PM
Hi,
I have an MDI app with some non-trivial child forms
(tabs, maybe 50 controls or so). When I open several
child forms maximized, then close them, the control boxes
remain in place as if the child form is still open.
Worse, I have the control boxes stacking up horizontally
across th... more >>
Comprehensive discussion about web-like UI development in WinForm apps
Posted by Andrew Connell at 9/4/2003 2:47:29 PM
Occassionally I'll see posts in here from users looking to design =
applications with a UI that is more web-like than desktop. An example =
of this would be the latest Money, Quicken, and even the latest MS CRM =
suite. None of these applications use what look to be web-feeling =
interfances. ... more >>
Validate a filename
Posted by Nick Carter at 9/4/2003 2:04:45 PM
I have a TextBox which a user enters a filename into. What's the simplest
way to validate the input to ensure that the filename is a valid filename
(in other words that it is just a good name as opposed to whether it exists
or not) ?
Nick Carter
... more >>
Property Grid - Displaying a Button
Posted by Karuppasamy at 9/4/2003 11:59:53 AM
Hi All
I am using property grid to change the values of an Object. for a particular
property of the object, the user has to select the value from some other
Form. So i want to display one button next to that property in property
grid, so that user can click this button to show the Form, th... more >>
Font size of the standard MessageBox
Posted by Dmitry at 9/4/2003 11:31:41 AM
Hi,
does anybody know if there is a way to modify the font size of the standard
MessageBox ?
Thanks,
Dmitry.
... more >>
Override Dock
Posted by Rudolf Ball at 9/4/2003 10:00:47 AM
Hi NG,
I have a problem: I want to verride the Dock-Method that the control fills
the form, but keeps away 1 pixels from the edges, so I have a border.
Thank you for your help,
Yours
Rudi
... more >>
Can't close form
Posted by Andy at 9/4/2003 9:59:35 AM
Hi,
I have a problem with closing a form, when I'm clicking 'x' button,
the form is still visible.
My form has functionality like TabControl. When I add a new control, all
controls are deleted from the form control collection,
(this.Controls.Clear(); this.Controls.Add( c ) ), but old controls a... more >>
ComboBox Text property (repost)
Posted by Graeme Richardson at 9/4/2003 8:11:54 AM
Hi, how can I get the Text value of a ComboBox when I type a new value into
it while the list is open?
I'm trapping the Validated event.
If I type a new value with the ComboBox closed then everything works. I.e. I
check the ComboBox.Text property and receive the new value.
However, if I show th... more >>
stretchy windows
Posted by Robert Batt at 9/4/2003 6:14:47 AM
Hello,
I wish to write a program that
incorporates "stretchy" windows like those found in
the .net framework development environment, where there is
never any gaps when you move the windows and there is a
little bell in the corner that is an auto hide button.
What type of control i... more >>
How to write a debug statement in a window form application
Posted by Kueishiong Tu at 9/4/2003 2:23:24 AM
How do I write a debug statement to output some data in
the debug window in the .net development environment
(specifically window form application) which is
equivalent to the TRACE statement in the MFC environment.... more >>
|