all groups > dotnet windows forms > may 2004 > threads for tuesday may 11
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
Printing in .NET redundant?
Posted by David Eu at 5/11/2004 8:41:09 PM
Every article or piece of information about printing a Windows Form in .NET suggests that I have to
draw each control myself
But when a Windows Form is refreshed the Form::OnPaint(e) method is called, where e is of type PaintEventArgs
The OnPaint() base method ***DRAWS*** the controls and their ... more >>
Dynamic UserControls not rendering
Posted by nova_jsh01 at 5/11/2004 8:01:09 PM
After creating a custom web user control in a ascx file I can dynamically add an instance of this control to the web forms Controls collection at runtime, but it won't render. Anybody know why?... more >>
Sharing stuff amoung forms
Posted by Kai Bohli at 5/11/2004 5:35:49 PM
Hi all !
Is there a way to share components among forms. I think especially about ImageList which should be
created once and reused in every form. Database connecions is another example.
TIA
Best wishes
Kai Bohli
kaiboeNO_SPAM@online.no
Norway... more >>
DataGrid Sorting returns wrong values from dataTable
Posted by vijai thoppae at 5/11/2004 4:44:26 PM
Hello,
I have a datagrid in my C# application. The Grid has 4 columns, one is a
Boolcoluumn, other 3 are string columns. Out of which bool column is
editable & the last column is editable too. Using DataGridColumnStyle i've
allowed Sorting to true for the whole Datatable. At a time the user is... more >>
TextWidth
Posted by Angel at 5/11/2004 2:21:03 PM
In VB6 there was a function for the WindowsForm called TextWidth. This function when called passing a string you would return the width of the string as it will be displayed on your screen. With this I was able to appropriately set the controls width property with the contents of its text property. ... more >>
forcing form to resize upon load
Posted by Sam D. at 5/11/2004 2:01:08 PM
Hi! I am experiencing a peculiar problem with some old Active X control I am using in my C# winform. Once the form
loads, the control layout position withing the form is incorrect. As soon as I manually resize the form, the control's layout becomes as intended. I need to either fix the control (I a... more >>
DataGrid - Tab skips my custom column
Posted by lanpheer NO[at]SPAM hotmail.com at 5/11/2004 12:31:37 PM
If you take the combobox column style from somewhere like the datagrid
faq at syncfusion.com and replace the combobox with a button or
another textbox and then fix up the code to compile and run, there
will be a problem. When tabbing into the column in question, the focus
will enter the column o... more >>
problem with windows caption bar text...
Posted by Paul M at 5/11/2004 10:56:07 AM
hi there,
i have come across a problem with the caption bar in my vb.NET windows
application.
the main form is being used as a MDI form, which has an english caption, but
one of my forms has a eastern european (macedonian) title.
When the 2nd form is loaded, the MDI client shows the english... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Changing Application color to follow Change of System Color
Posted by Toni at 5/11/2004 10:51:02 AM
Hi Folks,
I wrote a custom control with custom drawing. What I want to detect is when
user change their system-wide color scheme, the custom control reflects that
change as well.
Does anybody know how to do this?
-toni
... more >>
Bring To Front of a Process/Other application
Posted by DraguVaso at 5/11/2004 10:31:41 AM
Hi,
I want my application to bring another application to the Front.
I thought best way to do this was by the Process-model:
Dim c As Process = Process.GetCurrentProcess()
Dim p As Process
For Each p In Process.GetProcessesByName("EXTRA")
If Left(p.Main... more >>
|