all groups > dotnet windows forms > october 2004 > threads for friday october 1
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
Q: ValueObject design pattern and DataGrid control
Posted by Guy Mahieu at 10/1/2004 8:44:18 PM
Hello all,
I've been developing enterprise solutions in Java for a few years now, and I
became quite curious about .NET. When the opportunity arose to start a new
(relatively small) project, I chose to give c# a try.
I am used to implementing a ValueObject pattern when it comes to retrievin... more >>
Painting a custom BG on TextBox
Posted by Phil Jones at 10/1/2004 8:25:10 PM
I'm inherting from the winform [TextBox] control. I'm wanting to override
the OnPaintBackground paint a custom background, however these method are
not being called.
Is the TextBox doing something funny in it's implementation or am I missing
something here? What would be the correct way t... more >>
F5 is not firing an event when the focus is in Datagrid
Posted by Techstudent at 10/1/2004 4:35:01 PM
I am trying to implement the keyboard functionality in windows forms.
I am overriding the "ProcessDialogKey" method to capture the key strokes.
I could able to capture all the key strokes when the focus is not in the
datagrid.
When the focus is in datagrid i am running into problem:
when i pre... more >>
Using Datagrid Problem on Column align
Posted by Enver at 10/1/2004 4:00:13 PM
Hi!
I am trying to use a datagrid control on a smart device application. I
managed to see my data on it but i have to arrange the width of columns.
How can i do that?
I ve tried to use tablestyles but couldnt manage. I get System Null
Reference Exception...
... more >>
Show window content while dragging for one window ??
Posted by Dnf at 10/1/2004 3:09:54 PM
Hallo !!
How can I make window content visible while dragging without turning on
this effect for all windows in system - I want this effect only for one
window ????... more >>
Why is Button.Hide( ) so slow ???
Posted by Jeff at 10/1/2004 2:59:29 PM
Hi,
When I call Hide( ) on five buttons, it takes 600 mSec to complete.
The screen updates are very, very slow on a 2Ghz machine.
Ouch! How can this be so slow?
Code looks like:
foreach (MyButton button in this.buttonList)
{
button.Hide( );
}
Note: MyButton is derived from ... more >>
detecting control visibility before form shows
Posted by Bob at 10/1/2004 2:24:07 PM
Is it possible to tell if a control would be visible (or hidden) before
making its parent form visible?
Bob
... more >>
Is there a way to assign a ctrl key press shortcut to a form butto
Posted by Rico Alexander at 10/1/2004 2:15:06 PM
Thanks in advance... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Get the number of visible characters in textbox
Posted by Nacho Nachev at 10/1/2004 1:46:17 PM
Hello,
I have a readonly textbox that is limited in width. There are cases when the
text in it exceeds this limit. In such cases I want to add "..." at the end
(for example: "somelongt..."). The problem is that I don't know how many
characters the control cancontain, because its seems that the... more >>
What is the best way for building Help files for WinForms?
Posted by Jason at 10/1/2004 1:31:17 PM
Is there some kind of publishing tool, such as RoboHelp for this?
... more >>
Adding Web page to Favorites using C# web control
Posted by Mark Shehan at 10/1/2004 12:43:54 PM
Hi
I am writing an app that has a web browser in part of the Windows form in
C#. I can navigate etc happily around the web with it but want to allow the
users to add to their favorites. I know the favorites files have a .url
extension so how do i save the web page in the folder? do i use th... more >>
combine multiple dlls with same namespace into a single dll
Posted by sudhakar at 10/1/2004 11:12:06 AM
Hi
I have many dlls with same namespace (say X). I would like to combine them
and make it a single dll , called X.dll.
onw way to do this is by copying all the source code into a same project and
compiling them. but its a maintenance and extensibility nightmare.
Is there any other way to "mer... more >>
Referencing application though VB.NET
Posted by Russ Green at 10/1/2004 10:00:36 AM
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C4A79D.7F764D20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am currently developing an application in VB.NET that uses the =
Microstation's object model via COM Intero... more >>
createcaret with bitmap
Posted by Magic Gooddy at 10/1/2004 9:39:07 AM
SGkhDQpJIHRyeSB1c2luZyBBUEkgQ3JlYXRlQ2FyZXQgd2l0aCBiaXRtYXAgZnJvbSBQaWN0dXJl
Qm94LiBCdXQgdGhpcyBmdW5jdGlvbiBkb24ndCB3b3JrLiBDYW4gYW55Ym9keSB0byBoZWxwIG1l
Jg==
... more >>
Trigger mousedown in derived TextBox from code
Posted by Peter Erikson at 10/1/2004 9:21:01 AM
Hi,
I am wondering if someone knows how to trigger a mousdown event in a TextBox
from code as if someone clicked the textbox.
I have tried to derive a TextBox and manualy call the RaiseMouseEvent metod
whith a propper MouseEventArgs, but this doesnt work the way I want. The
thing is that... more >>
Listview BackColor problem
Posted by Gary Paris at 10/1/2004 9:02:27 AM
I am trying to change the BackColor of an item but when I run this code, it
doesn't change
ListView1.Items.Item(currentRow).SubItems.Item(4).BackColor =
Drawing.Color.SpringGreen
What am I doing wrong?
Thanks,
Gary
... more >>
Font to support Chinese & Japanese characters?
Posted by MatsL at 10/1/2004 8:58:14 AM
Hi,
We are building a windowsforms application to support Chinese & Japanese
characters. Which font supports best Asien character sets.
Thanks in advance
// Mats
... more >>
Using a class to bidirectionally pass parameters between forms
Posted by AlBruAn at 10/1/2004 8:39:04 AM
I have a need to populate a collection class from one form and need to access
and/or modify the values in it from a second form such that it is still
available to the first form. Of course, using the New keyword as in "Class1
c = New Class1();" returns zeros and null values in the second form... more >>
Question about list view: how to find out the subItem pointed by the mouse?
Posted by Linda Chen at 10/1/2004 8:15:53 AM
I created a list view control which has 4 columns. I am
planning to add a dynamic tooltip to the control.
Everytime when the mouse hover over any subitem on column
4, the tooltip will display the content(text) of the
subitem.
I am adding my code to the MouseHover event. The problem
is ... more >>
Failed to load resources from resource file.
Posted by Manso at 10/1/2004 5:51:03 AM
Hi,
I've been struggling with this issue for some time and can't find any
relevant information about it in any newsgroup, including the managed
newsgroups. I have some information that might help someone else, though.
I'm running a WinForm and get the following on startup:
Failed to l... more >>
set height of datagrid match by font size
Posted by KPH at 10/1/2004 4:21:04 AM
Hi,
I'm a VB .NET developer. I would like to how to set Height of DataGrid to
fit the font height?
Thanks,
KPH... more >>
AcceptButton and Key-Events
Posted by lakmann NO[at]SPAM gmx.de at 10/1/2004 2:06:22 AM
Hello,
I have a problem with Key-Events on Forms in connection with hitting
the AcceptButton.
Situation:
- MdiChildForm 1 with DataGrid for selecting records. This DataGrid
has AllowNavigation false, ReadOnly true and all the textBoxes of all
the DataGridTextColumns are disabled, too.
The Key... more >>
|