all groups > dotnet windows forms controls > january 2005 > threads for january 22 - 28, 2005
Filter by week: 1 2 3 4 5
Suppress combobox dropdown
Posted by Gecko at 1/28/2005 3:16:26 PM
Is there a way to suppress the dropdown of a combobox. Instead of showing
the dropdowlist I would like to show my own control.
Thank you.
... more >>
Can you tell if a menuitem was clicked or if the shortcut was used?
Posted by Matt Warner at 1/28/2005 1:26:36 PM
Hi guys,
When somebody clicks a menuitem or uses the shortcut, this is called
private void menuItem1_Click(object sender, System.EventArgs e)
{
doStuff();
}
I am doing quick watch on the sender object but cannot see any property that
will tell me if they clicked it or used the short... more >>
Custom Control
Posted by seshu at 1/28/2005 12:37:51 PM
Hi,
Can any one help me in creating the custom control in C-Sharp .Net.
I want to create a transparent resizable rectangle which when placed on any
window should be able to see the contents of the window.
Thanks in advance
... more >>
Can't access gd after delete
Posted by Paulb1us NO[at]SPAM newsgroup.nospam at 1/28/2005 11:31:07 AM
I can't access the rows of my dataGrid after I call a dg.Delete() on some of
the rows.
I populate a datagrid from a datatable like this
dataGrid1.DataSource = dt;
Then I loop through each datarow deleting some of the rows like this:
dr.Delete();
I then refresh the grid to get the re... more >>
ListBox not Updating
Posted by W. Peter Harding at 1/28/2005 10:22:48 AM
I have a Listbox control with an arraylist as the datasource. The Listbox
does not update when the list is updated. What would be the best way to
make this control update?
Peter
... more >>
Raise window on top of others on the desktop
Posted by Clinton Pierce at 1/28/2005 9:14:58 AM
I have an application that's starting my C# application. The problem is
that 3 out of 5 times, my application winds up *behind* the window which
launched it because of the calling apps' behavior. I can't change the
caller.
I'd like to wait a second or two after the Visible state changed, and... more >>
Wierd behaviour of DataBound ComboBox
Posted by tonci.tomic NO[at]SPAM mireo.hr at 1/28/2005 7:53:57 AM
Please, try to run following sample:
/****************** Sample ************************/
using System;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
public class Form1 : System.Windows.Forms.Form {
ComboBox cb;
Button btn;
DataSet ds;
DataTable InitTable(... more >>
CheckBox
Posted by Siu at 1/28/2005 5:39:05 AM
Hi,
the checkbox control has three status: true, false and something strange
which is in grey when the application is in runtime. Is it possible to set
only two status???
Thanks:)... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
LOCK A MonthCalendar Control
Posted by Siu at 1/28/2005 3:35:02 AM
Hi,
is it possible to lock a MonthCalendar control in this sense: nobody is able
to change month by clicking the two arrows (previous and next month)!!
Thanks.
... more >>
tabcontrols
Posted by Ron Harter at 1/27/2005 4:58:19 PM
I have an application that uses a tab control. Each tab on the control has 2
list boxes on it. There are over a dozen tabs involved in the application.
Is there some way to define a list box on a single tab and then redraw it on
the remaining tabs when they come into focus? I hate the idea of ... more >>
accelerator key for image buttons?
Posted by Daniel at 1/27/2005 4:29:01 PM
Hi all,
i was wondering if accelerator keys can be added to winform buttons that
have images instead on text captions...
is there a way?
thanks,
Dan
... more >>
helvetica font- its on XP, how do i use on vb.net forms?
Posted by Matt Landis at 1/27/2005 4:10:39 PM
How do I use the Helvetica font on vb.net Forms?
Matt
... more >>
Tabs Get Out of Order
Posted by Fred Herring at 1/27/2005 3:25:03 PM
Hi, I have 30 tabs in an win form application I am developing and the tabs
will not stay in my desired order. I have tried selecting each tab and using
the "send to back" command but the order will not stay fixed. How do I lock
the order of my tabs so that they don't rearrange themselves.
... more >>
DataGrid Question
Posted by BrianDH at 1/27/2005 11:59:06 AM
Is it possible and if so, examples please, to replace the
(Select, Edit, Delete) button with an image?
Thanks
BrianDH
... more >>
Treeview control
Posted by Waleed Seada at 1/26/2005 5:46:03 PM
Hi all
I want to build a treeview class that will add some other properties for
each node, like pathtype, kind, etc...
What is the best way to do this, Illustration will be great
Thanks in advance
Waleed Seada
... more >>
Nulls in datagrid
Posted by Vik at 1/26/2005 4:21:16 PM
Is it possible to display in a datagrid the empty cells for the Null values
instead of (null) ?
Thanks.
... more >>
Open File Dialogbox
Posted by Charles A. Lackman at 1/26/2005 12:52:26 PM
Hello,
I am running VS 2002 and need a FolderBrowserDialog . I could create one
using a DirListBox and a DriveListBox but it does not allow browsing to a
network.
Is there a way to display the network using a DirListBox and a DriveListbox?
Is there a way to use the VS 2003 FolderBrowse... more >>
Embedded control = Poor performance
Posted by Charles at 1/26/2005 12:45:03 PM
Hello,
I have a control that is instanced twice on a web page.
I went to a local coffee shop to see if I could view the web page.
The coffee shop's connection was DSL.
It worked, but it took over two minutes before the control was loaded.
On my local web server the web page loads in about 15 ... more >>
Instantiating a WinForms control using Activator.CreateInstance
Posted by BBM at 1/26/2005 11:51:07 AM
Hi everyone.
I have an app where I need to create Winforms controls at runtime (dynamic
layout), and the type of control to create is actually an attribute of my
Entity object (the data object) that is being displayed. So the data object
itself knows what kind of control is best to display... more >>
CheckedListBox items
Posted by Maqsood Ahmed at 1/25/2005 11:54:25 PM
Hello,
I have a CheckedListBox on a winform and some of its items are checked
by default. I want to disable the checked items so that user can not
uncheck them during selecting other items (as it is add dialog not
edit). Is there any way I can do so. I tried to search about it on the
internet ... more >>
Get Text from System Dialog Box
Posted by NightHog at 1/25/2005 10:27:00 PM
How do I programatically get the text from a popup dialog box?
Thanks.
... more >>
Error assigning to a control in form constructor
Posted by Steve W at 1/25/2005 8:35:47 PM
We are hitting a problem that we can't explain and wondered if anyone has
seen this before or can suggest how we can stop it happening :
Form 'A' inherits from System.Windows.Forms.Form
Form 'B' inherits from Form 'A'.
Form C inherits from Form B.
Form B (the one in the middle) has a TextBo... more >>
Bad Control "Feature"
Posted by Bob L. at 1/25/2005 10:50:58 AM
Hi everyone,
I am troubled by a "feature" of the .NET Group Box control
(Windows.Forms.GroupBox) which alters the font of every control on the group
box if I change the group box's font. I have noticed that this seems to be
general .NET functionality - changing the parent control font changes ... more >>
AxWebBrowser header and footer
Posted by mystique at 1/24/2005 8:52:49 PM
Hello
I am AxWebBrowser in many places in my project, now i want to control the
print output, so i can have custom header and footer. i heard the i have to
use print templates to do that, so if this is true, how do i use print
templates?
thanks Mystique
... more >>
Good Practice on ListBox
Posted by Hemang Shah at 1/24/2005 5:31:58 PM
Greetings
I want to display a listbox on the form which will include two columns from
the data table" FirstName" & "LastName"
What I've done now, is modify the DataAdapter to include two additional
colums as:
[FirstName] + " " +[LastName] As NameFN
[LastName] + " " +[FirstName] AS Name... more >>
How to have MenuItems accept mouse right-click action?
Posted by Dave Leach at 1/24/2005 3:27:07 PM
I am developing a Windows Forms application using c# in VS.NET 2003. I have
defined context menus (popup) for several of my controls. I have noticed
that my context menu menu items do not work when clicked with the right mouse
button. However, I have noticed that most Microsoft application'... more >>
Array of Class
Posted by Max André Bündchen at 1/24/2005 9:40:47 AM
Hi,
I must design a method that receive a Control object and return a single
value if it is a TextBox object, another value if it is a ComboBox object
and so on.
If I try a "if-else-if" loop, this will be very unhappy! Can I use a foreach
to make that? How declare and create the array for u... more >>
Problem/Bug: poor C# windows forms accessibility for disabled?
Posted by waltborders NO[at]SPAM yahoo.com at 1/24/2005 8:15:27 AM
Hi,
Because the blind are unable to use a mouse, keyboard navigation is
key. A major difficulty is that not all windows forms controls are
keyboard 'tab-able' or 'arrow-able' or have "tab order".
The application is built and the next step is to create the custom JAWS
(Freedom Scientific)sc... more >>
enablevisualstyles and keep fixed3dborder's
Posted by Bill Domenz via .NET 247 at 1/23/2005 9:39:22 AM
Searched for hours with no luck.....
I am trying to create an app (win form) in c# with visual styles enabled but I cannot seem to "keep"
my textboxes in the 3d border style. Is this just something that can not be done with visual styles or
is it something that needs an override ? Any help/sugges... more >>
Win32 API help in C#
Posted by Vidhya Subramanian via .NET 247 at 1/23/2005 9:31:03 AM
Hi,am have this requirement and it would be great if someone can=
help=2E I have a parent and child form, from the parent, i have to=
set the background color of the child form(and forms)=2E I cannot=
write any code in the child form and it has to be done from the=
parent=2E I'm looking for ... more >>
Embedded WinForm Control in IE crashes...
Posted by Marco at 1/22/2005 7:52:08 PM
Hello,
I have a WinForm control embedded in IE that crashes everytime I close
my browser. If i click on a link in IE when the control is loaded and
brings me to another page, IE also crashes. I don't get any debug
errors from IE itself (via IEDebug). Does anyone have any idea why
this would... more >>
|