all groups > dotnet windows forms controls > august 2007
Filter by week: 1 2 3 4 5
How to make a transparent control?
Posted by Mehrdad at 8/30/2007 6:25:02 PM
Hi,
How can I make a transparent windows form control?
Thanks,
Mehrdad
... more >>
How to manually invoke PictureBox.Resize?
Posted by nvx at 8/30/2007 6:12:31 AM
Hello,
I experience a strange problem with PictureBox I draw onto. My
application has a fill-docked TabControl on its form and there is
PictureBox on one of the TabPages. If I resize the form (hence the
PictureBox should resize too) WITHOUT switching to the TabPage
containing the PictureBox bef... more >>
Buggy Tooltip?
Posted by jonny at 8/30/2007 2:02:40 AM
Hi,
Did anyone notice, the WinForm tooltip component cannot show again if
you click on a label?
The repro steps are quite simple:
Just create a simple Winform Application Project, put a label and a
tooltip component on the Form,
then set tooltip for the label control in designer.
Run th... more >>
DataGridView Design-time Bug
Posted by JT at 8/29/2007 6:20:00 PM
Hi all,
I have one particular datagridview that just will not maintain the list of
columns I specify for it.
I am using VS2005 SP1 to design a Windows Forms project. On one of the
forms, I have a tab control. On the last tab page of the form, I have a
datagridview with a binding source a... more >>
DataGridViewCell - how to make a cell blink?
Posted by Lee Gillie at 8/29/2007 11:13:15 AM
Given the rather complex style inheritance model that exists for
determining the colors and style and so forth that a cell actually
displays in, I am trying to find a way to highlight the cell, and put it
back, such that when it is all done blinking I can completely restore it
to original ap... more >>
Cannot use WebBrowser
Posted by Fabio at 8/29/2007 12:00:00 AM
Hi
I'm a problem using WebBrowser: each time there is some windows update
VisualStudio give me an error for WebBrowser (IE7).
Today wen I try to add the WB on a form it says that cannot instanziate the
component and don't add it.
Time ago I found a way to repair the IE7 installation for... more >>
Create Popup like DateTimePicker
Posted by Jack Jackson at 8/28/2007 4:21:27 PM
I want to build a control that will have a popup similar to the month
object in the DateTimePicker. Like the month object, my popup needs
to have a variety of controls on it.
Can anyone suggest what type of control(s) would be suitable for this.
Thanks.... more >>
MaskedTextBox.SelectionStart Not working
Posted by Jason Allred at 8/28/2007 11:26:53 AM
I have six .NET 2.0 MaskedTextBoxes in a user control (With a mask on each
of 3 numeric characters). When the length of the text in the right-most
masked textbox is 0, I want to put the cursor at the end of the previous
(5th) masked textbox. I've tried the following:
Private Sub m... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with default values in DataGridView
Posted by Markus Frischholz at 8/28/2007 7:54:00 AM
I need to fill in default values for new rows in a DataGridView. The control
is bound via BindingSource to a DataTable.
I use the DefaultValuesNeeded event to populate the new rows. This works
just fine except for one particular case: If the last existing row in the
DataGridView is deleted ... more >>
ToolStripMenuItem.Enabled Property problem - BUG?
Posted by JT at 8/27/2007 10:30:01 PM
Hi all,
I am getting some unexpected behavior in WinForms 2.0 with VS2005 SP1.
Scenario:
Start a new WindowsApplication project in vb.
Paste the following code into the .vb code behind of Form1, and the designer
code into the .Designer.vb.
Public Class Form1
Private Sub Form1_Lo... more >>
How do I disable vertical scroll bar in a listbox?
Posted by Morris Neuman at 8/23/2007 3:22:04 PM
Is there a way to prevent a vertical scroll bar to appear in a listbox if
there are more items then can show in the listbox? I know you can set it to
alway be visible but I want the opposite, I want to never show them.
--
Thanks
Morris... more >>
Multicolumn listbox or combobox
Posted by Morris Neuman at 8/23/2007 12:10:06 PM
Is there a way for a list or combo box (or anay simialr control) to display
multiple columns of items from multiple columns of the data source. I want
the list to display "Cust#", "LastName" and "Firstname" from my customer
table so the user can select a row and it will return the Cust# value... more >>
Combobox does not hide selection
Posted by Andrus at 8/22/2007 7:21:52 PM
I added a lot of myComboBox controls to form.
Every combobox shows all its content selected.
Selection is removed only when I tab off from the control.
How to hide selection initially?
There is not HideSelection property in Combobox.
Andrus.
class myComboBox : ComboBox {
internal myC... more >>
Custom control: MouseMove event continually generated under Vista
Posted by VisualHint at 8/22/2007 2:14:10 PM
Hi,
My PropertyGrid component works fine under XP but has an issue under
Vista. When the mouse is over the grid, the CPU raises to 100%.
Actually, under Vista, I realized that the OnMouseMove handler is
continually called, even when the mouse is not moved. Do you know the
cause of this behavi... more >>
How to Show only Year in C# using DayTimePicker
Posted by Sandeep Singh at 8/22/2007 12:00:00 AM
Hi Everyone,
How to show only year on UI using VS DayTimePicker in C#.
Looking forward for your response.
Thanks
Sandy
... more >>
Can add new data to DataGridView but can't save it!
Posted by teddysnips NO[at]SPAM hotmail.com at 8/21/2007 7:32:55 AM
WINDOWS FORM>
We are migrating an app from VS2003 using DataGrid to VS2005 using
DataGridView. Naturally, all our DataGrid helper classes are now
redundant. This is more or less my first exposure to this technology
- I've spent the past five years on ASP.NET
I want to create a very simple b... more >>
How to use other controls in listview cells, such as button and combobox?
Posted by Amber at 8/21/2007 1:53:09 AM
Visual Studio's Properties windows is an example.
... more >>
Filtering Properties Out
Posted by leepard at 8/20/2007 1:12:18 PM
I have created a custom control where I have applied a new custom category to
all properties I would like users to set. All other properties I want to
filter out. For example, I have derived a CustomTextBox from TextBox, and
have filtered out all properties that aren't tagged with my custom ... more >>
DataGridView Tool Tips
Posted by Jeffery Jones at 8/20/2007 11:40:28 AM
I have a DataGridView control with no tooltips set in the designer - I
searched the source code to be sure there were no tooltip statements.
All tooltips in the column definitions are blank.
1.) Column headers which word wrap display tool tips (which is the
exact text of the column heading... more >>
Controls for Relational (Hierachial) Data
Posted by David Jones at 8/20/2007 6:12:09 AM
Is there an off the shelf control for showing relational data with ease
similar to that for a DataGridView when showing one table?
--
David Jones
Software Developer
(Embeddded Systems)
Victorian Partnership of Advanced Computing
Melbourne, Victoria Australia... more >>
Avoid treenode to "selected color"
Posted by Dahab at 8/17/2007 2:01:48 PM
Hi,
Anyone know if it's possible to avoid the selected node in a treeview to
loose it's "selected color" when the treeview looses focus?
Thanks
D.
... more >>
.NET-BroadcastEventWindow Application Error
Posted by Fernik at 8/17/2007 10:22:02 AM
Hi,
We are experiencing a problem with a windows forms control hosted in IE.
Everytime I close the IE window we get this error:
---------------------------
..NET-BroadcastEventWindow.2.0.0.0.218f99c.0: iexplore.exe - Application Error
---------------------------
The exception unknow... more >>
Usercontrol application name
Posted by Johnny E. Jensen at 8/17/2007 12:00:00 AM
Hello
Is it possible to get the application name the usercontrol is placed into.
I'am building a usercontrol that have the possibillity to save properties,
the xml file is stored in the "Application Data\Company Name" and the next
folder should be the name of the application the usercontrol ... more >>
Showing a panel and only its controls (in the designer)
Posted by silverfox at 8/16/2007 7:06:46 PM
I am new to using the visual designer and I am having difficulty with
a simple task but can't find the answer. I am using VS 2005. I have
a form with two panels that overlay one another. I intend to control
which panel is visible in the running application through hide( ) and
show( ). Each p... more >>
DataGrid Questions please HELP!
Posted by esebastian NO[at]SPAM esolutionsgroup.ca at 8/15/2007 12:43:10 PM
Hi All,
I don't have a lot of experience with the datagrid control and so i
have a few questions. I am using VS 2005 and C#.
My situation is that i have a datagrid that displays a dataset with 2
tables in it, the tables are related via a datarelation .. so it's
parent/child. HEre are my questio... more >>
scrollbar value visible inside the scrollbar
Posted by Siewolf at 8/15/2007 4:58:03 AM
hi
i wont to show the actual value of the scrollbar over the hscrollbar
i maked a graphics from hwnd and a graphics paint.text inside
and it works how i want (transparent over the scrollbar) but all
the events over the scrollbar who changend the grafic -if the mouse
is moving- destroyed my numb... more >>
How Do I Suspend Layout For a RichTextBox?
Posted by Stuart Woodard at 8/14/2007 11:34:00 PM
Hi
I'm trying to develop a syntax-colouring text box, using a RichTextBox as
the underlying control. The logic works fine and recolouring is achieved by
selecting each language token in turn and setting the Selection.Color
property.
Unfortunately, the selection operations are visible, a... more >>
Usercontrol Toolbox and dependent Assemblies
Posted by Boas Enkler at 8/10/2007 1:22:42 AM
Hi
I created an user Control which needs 2 other dlls of referenced
projects. When I deploy the dlls to the customer and he drags the
control from the toolbox e.g. to a form the reference of the main.dll
is added to the project, but the dependend dll's (which are in the
same folder) were not ... more >>
DataGridView, set datatype boolean and checkbox
Posted by Nhan at 8/9/2007 6:32:38 PM
Hi,
How can I setDatatiype as Boolean and display type as checkbox to a column
of a unbound datagridview?
I cannot understand the property ValueType.
Thanks
Nhan
... more >>
DateTimePicker Value and Text don't match.
Posted by David St. Hilaire at 8/8/2007 6:22:02 PM
Hi,
I can't figure this out. I have a DateTimePicker with the following
properties being set in InitializeComponent, called from the form's
constructor:
//
// startTime
//
this.startTime.Checked = false;
this.startTime.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.... more >>
treeview checkbox question
Posted by georgejetson at 8/8/2007 8:58:09 AM
Environment:
vb.net 2.0 (2005) in Visual Studio 2005 on Windows XP latest service pack
I think this will be simple enough:
My treeview has about 6 root nodes, and each root node has about 5 child
nodes,
that's it, very simple...
I wan't to automatically handle checking/unchecking the... more >>
Datagridview, reorder columns
Posted by Nhan at 8/7/2007 4:51:24 PM
Hi,
I use bound datagridview control of VS 2005.
I want to remember the order of columns, which users make at runtime, the
next time I will show the columns in this ordering.
For Example:
My Grid had 3 Columns: ID, Name, Size.
In runtime users reorder them (with drag drop): ID, Size, Name... more >>
Textbox, HTML Tags & RegularExpressionValidator
Posted by RKP at 8/7/2007 3:42:01 AM
Hi
I have a web page containing a multiline text box that users regularly paste
HTML output into.
On postback the page errors.
I've tried to get around this using a RegularExpressionValidator with some
success but cant seem to nail it.
Is there a better way or can someone please prov... more >>
DataGridView column order in Designer
Posted by Jeffery Jones at 8/4/2007 10:04:01 PM
Using VS 2005 SP1, C#
In Designer, I create an unbound DataGridView control with a number
of columns. Later, if I paste a form from another project in the same
solution into the current solution, it reorders the colums
alphabetically. In the worst case, designer would reorder the
column... more >>
VC# Express: please suggest a control to generate reports with images in
Posted by nvx at 8/3/2007 1:21:39 AM
Hello,
could anyone please suggest a control contained in VC# Express that
supports inserting of images, horizontal rules, bold text, and text in
different sizes AND supports easy printing of its contents? I tried to
use RichTextBox, but inserting images by pasting them into the control
failed ... more >>
C# .Net ActiveX COM Interop problem
Posted by WNC at 8/2/2007 4:44:01 PM
I have a C# .NET program that uses COM Interop to use an ActiveX control
(the control is hosted on the main form). I have successfully used the
debug version of this program on four different computers in my office
(Win2K Server, Windows XP SP1 and Windows XP SP2). I just got a new
compute... more >>
|