all groups > dotnet windows forms > march 2005 > threads for tuesday march 8
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
Calling parents functions
Posted by Gav at 3/8/2005 11:56:17 PM
Hi all,
Is it possible to call a mdicontainer's function from a child window?
Basically I have an function in the main MDIContainer form which opens child
forms, it accepts an enumerator to know which form to open, also it checks
to see if the form is already open so that it doesn't open i... more >>
A simple Q: there any performance penalty by extensive data bindin
Posted by zhaounknown at 3/8/2005 11:47:01 PM
I have like 50 controls from data grid and textboxes bound to a dataset in
windows form. Some one told me the extensive data binding will slow down the
aplication.
Does it really perform slower than manually set the textbox values by
"ControName.Text=ValueString"?... more >>
Events in Derived Classes
Posted by ReMeN at 3/8/2005 6:59:52 PM
Hi,
I am deriving a windows control into a custom class. How
can I "re-declare"
the events to make them available for use in the new,
derived class?
I'm using C++ .net, will I will interpret any help I can
get.
Thanks.
..
... more >>
Editing a form in VisualStudio
Posted by Jeff Connelly at 3/8/2005 4:34:31 PM
Using Visual C# .NET. I have successfully created my own Windows forms from
scratch and been able to view and edit both the code and the designer (i.e.
right click on the .cs file in the Solution Explorer pane and select View
Code or View Designer.) I'm also modifying existing code, and have... more >>
sendmail hangs when I declare an api function
Posted by Bernie Yaeger at 3/8/2005 3:54:08 PM
I have a simple mailsys solution that works splendidly.
I decided to add a listview with file association icons to replace a listbox
that displays the full path only of an attachment. But when I add this
(which I need to get the file association icons):
Private Declare Ansi Function SHGetFi... more >>
How to embed a form in a form?
Posted by Cezar at 3/8/2005 3:45:02 PM
This is what I would like to do:
- The splitter window splitting the view to a tree view on the left and
entry dialog on the right. The tree view and splitter are easy and it's
already done.
- It is easy to make a fixed form on the right pane, dock it and enjoy it
working.
However, I would ... more >>
TreeView
Posted by Pauly C at 3/8/2005 1:09:08 PM
Is there a way to make the parent node not display a checkbox but each child
node have one?
Thank you in advance,
Pauly C
... more >>
setting the formatted text for a RichTextBox control
Posted by Ohad Young at 3/8/2005 11:58:43 AM
Hi,
I was wondering if there is a possibility to update the content of a
RichTextBox control with a mixture of formatted text (for example bold or
underline) containing in one action. I would like to speed things up and
use a StringBuilder to store the text and its formatting instead of doing... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
One More Context Menu Question
Posted by snesbit at 3/8/2005 11:15:51 AM
I want to add a separator bar between sections of the right mouse menu.
I want the bar to be horizontal to separate a vertical group of menu =
items.
I've tried the few methods and combinations thereof but can only create =
a column separator bar which
at the moment I do not want.
ie.
... more >>
How to create Previous/Next Page button on Scrollbar?
Posted by rh at 3/8/2005 10:35:56 AM
Hi, is there a property on the VScrollbar to activate this feature or is
custom coding required?
This feature exists on MS Word's vertical scrollbar and I would like to add
this feature to my VB.NET Windows app (to the scrollbar on a DataGrid and a
TreeView).
Any suggestions? Thanks in a... more >>
Adding to an existing MenuItem's MenuItem Collection Dynamically
Posted by snesbit at 3/8/2005 9:37:20 AM
I have a static ContextMenu already built and it works. =20
I am trying to add a submenu (right arrow with a new menuitem list) =
dynamically when the popup is created.
The new set of menuitems requires some DB queries to be done and then =
the menuitems to be added to the Menuitems collecti... more >>
Bind IList to DataGrid
Posted by Steve Norman at 3/8/2005 9:35:10 AM
Hi,
I have an array that I am binding to a datagrid, however I do not want all
the columns to be visible (eg the ID). The way to do this, I believe, is to
set up a DataGridTableStyle and DataGridColumnStyle, but how do I map my
array to the DataGridTableStyle as my array does not have a ta... more >>
Casting classes
Posted by J L at 3/8/2005 8:11:09 AM
I want to be sure I understand the rules when casting classes and
sub-classes.
If I have a class Person and a sub-class Employee that inherits
person, then
This is not allowed. Why?
dim person1 as new person
dim emp1 as employee
emp1 = person1
But this is. Why?
dim person1 as person
... more >>
what event is raised?
Posted by tzake at 3/8/2005 5:09:08 AM
What event is raised when you click on the upper part of a form?(the one with
the control box and title...) because it doesn't respond to MouseDown or
Click events (they are only raised when I click on the rest of the form).
Thank you!
... more >>
Text Lines/MeasureString
Posted by Martin Madreza at 3/8/2005 12:30:02 AM
Hello,
i'm searchin for an easy solution
i'v got for e.g. an text that go after measurestring 4 lines
This
is
my
Text
No i want to read the text of the lines like lines[0] or what ever -
there is noc line break.
an textbox or richtextbox ios easier no solution. hope someone could
... more >>
MessageBox weirdness
Posted by primoz.kozuh NO[at]SPAM gmx.net at 3/8/2005 12:18:42 AM
Whenever I try to show a message box with caption text that includes
word "Error", the message box shows only briefly. It doesn't wait for
user interaction and just returns DialogResult.No .
//This doesn't work properly
DialogResult res = MessageBox.Show("Some description.", "Some Error");
... more >>
|