microsoft.public.dotnet.framework.windowsforms Archive - May 2002
Post a message to this list
Messages
Page: 1234567891011121314151617
TabStops in listbox don't work like Q318600 states (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hi all you dotnet gurus, I have setup my listbox like kb Q318600 states. I don't get any errors just that the tab stops don't work as indicated in the KB article. Any ideas on if this is a bug in the listbox or something more sinister? Thanks...Bob Baldwin
SelectedValue property (2 replies)
microsoft.public.dotnet.framework.windowsforms
I have a combo box on my form. It is loaded from a table in my dataset (via DataSource/DisplayMember/ValueMember). When saving back to my database, I have been able to capture the value of the selected item in my combo box like this... dr.VerifyType cboVerifyType.SelectedValue I would assume then, that I can use that SelectedValue for testing, but I'm getting the error "Operator is not valid for t...
Poor MS support (7 replies)
microsoft.public.dotnet.framework.windowsforms
Any idea as to when someone at MS will get back to me on this one? By the way, telling me that "someone" will look into this for me is not an acceptable answer. Especially when I know that I will never hear back from anyone. As an MSDN subscriber we are supposed to have a 72 hour response time. I don't consider a "someone will look into it" with no follow up a response. My orginal post: I've creat...
a problem about form's idle time! (2 replies)
microsoft.public.dotnet.framework.windowsforms
hi i want to draw some random rectangle in a form's idle time. but i can't find such event in form's event property. how can i do it? thank all!!
OwnerDrawn menuitems question... (4 replies)
microsoft.public.dotnet.framework.windowsforms
What should be the strategy to draw menuitems which can have checked/unchecked state? these items have image associated through OwnerDraw. What to do in this case? keep two images? one for when the item is not checked and one (LOOKING slightly pressed) when the item is in check state?
Designer Properties Do Not Save - PLS Help (3 replies)
microsoft.public.dotnet.framework.windowsforms
I am working on my first control and I have run into a wall... my control has a property that is another control (that I created).. from the forms designer.. I can set the properties to that nested control... but it wont save (it does not write the code in my InitComponents) in the form... what am I doing wrong. It does save the properties for the main controls... just not the nested control. If I...
Another DateTimePicker Problem (6 replies)
microsoft.public.dotnet.framework.windowsforms
Simply put, sometimes the value displays something that it isn't, that is, Now. I have a datetimepicker on one form, form2. It is called via showdialog from the main form, form1. The value is set in a variable in a whole separate class which is the Starting point for the app. When the app starts, it sets a value to the time variable, Time. It also brings up the first form1. User clicks a button to...
hooking mouse messages (4 replies)
microsoft.public.dotnet.framework.windowsforms
i have a parent control with a single child control that fills its client rectangle. in the parent control, i want to be able to intercept mouse events being sent to the child control. in win32, i could use mouse hook functions but i'm not sure what to do here .... does anyone know how to do this? thanks, michael malone
transparent background (4 replies)
microsoft.public.dotnet.framework.windowsforms
We want to gradient paint the background of our form and then have some text on it. We want the form to show through so I'm looking for a control that allows a transparent background color. Neither the Label nor the TextBox seem to allow that. Is there another control that would or some other way for us to accomplish this? Thanks!
table of Color hex values (7 replies)
microsoft.public.dotnet.framework.windowsforms
Is there a table any place listing the ARGB values for the named Colors? I've got a hex value of a color and am trying to find the closest named color for it. Thanks!
still struggling with setting column width of datagrid (2 replies)
microsoft.public.dotnet.framework.windowsforms
Below is ALL the code for the client that consumes a web service that returns a dataset that has four columns. I believe the problem is that the mapping names for the columns are unknow until runtime and that the actual names are not matching. Rather than a mapping name I would like to bind according to column position. The column names "DocPath... are the heading that actually appear in the grid....
DataGrid lacking functionality (2 replies)
microsoft.public.dotnet.framework.windowsforms
The standard Windows.Forms.DataGrid misses a lot of functionality like column hiding, column moving and filtering. Are there any 3rd party solutions handling this kind of functionality. I noticed only 1 third party with extended grid functionality (XtraGrid from DataExpress). Is anybody familiar with this 3rd party tool? regards, Dennis Harmsen Nucletron
Cannot overide paint on a Textbox as it's really a non framework based window (2 replies)
microsoft.public.dotnet.framework.windowsforms
Why cannot dotnet just subclass a non dotnet windows control and then wrap that up in a OnPaint call to my derived class. It seems crazy to have this restriction that windows based controls cannot be overridden. I am probably missing something so it would be nice to be enlightened.... Lee
Databinding: Handling errors in the databound form (4 replies)
microsoft.public.dotnet.framework.windowsforms
Hello What is the best practices for handling errors from business objects which are bound to WinForm controls? My problem is that the active form doesn't have any running code where I can put my Try Catch. So I have to have the code instantiating the form handling the error, which I don't like. Here is an example, which illustrate my problem: Public Class User Private firstNameValue As String ......
HelpContextIDs? (2 replies)
microsoft.public.dotnet.framework.windowsforms
How do I display a help topic in a .chm file using a context ID number (like VB6 does)?
BIG MDI Forms Problem. (3 replies)
microsoft.public.dotnet.framework.windowsforms
I think i already asked a similar question some weeks ago, but i keep having the same problem and wasnt able to fix it or find a correct way to do it. Here is the problem. I have a MDIContainer form, its a form called FRmain, but, the startup project for my App is FRlogin, wich is a standard form (not MDI Container) wich do the login process.. Im having some problems switching from the FRlogin to ...
tabcontrol with varying tab page sizes (2 replies)
microsoft.public.dotnet.framework.windowsforms
I'm trying to create a tabcontrol with tabpage sizes that might vary and have been unable to do so. I have a few that I need as one size because they only contain 1 letter, but there's one other tab that'll include 6 letters in the tab so I want to make it a little bigger. I've tried changing the width without much success. Is there something I'm missing here or can it not be done? Lance
'File.Delete("TEMP*.xml") How to use wildcards? (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hi how would i us the .net io to delete all TEMP*.* files in a specific folder? Any ideas? Thanks Mike
Datasource in combobox (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hi, can any one tell me the equivalent databinding for the datasource in a combobox. for example combobox1.datasource arraylist fills my combo with the array data how would i do this using comboBox1.DataBindings.Add(???,arraylist,"") what is the property ? Thanks Silk
Picture box & Form transparency (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hello all, I've been working on a kind of backwards way of doing a skinned form. By using picture boxes that are docked and anchored to the corners of the form. and I set the form transparency and the picture box transparency to green, and it works great on Windows XP. Unfortunately in win9x the green shows up and doesn't become transparent. I thought this kind of defeats the purpose of the .NET f...
How to turn off updating in RichTextBox? (4 replies)
microsoft.public.dotnet.framework.windowsforms
Hello, I'm doing syntax coloring in a RichTextBox control. Programatically setting the color of certain keywords seems to amount to selecting the text range and setting the color of the selection. It all seems to work fine except that the selection actually shows at runtime so there is all kinds of highlighting and color changing going on as the user types. I know that many controls expose the abi...
Binding a Control to a Class (2 replies)
microsoft.public.dotnet.framework.windowsforms
I understand how to bind a control to a dataset, but I would like to know how you could bind the same control to a class object Lets assume I have a customer class that contains a datatable with 1 to n customer records. I have defined public getter/setter properties which map to a column in the data table. My form is designed to display on record at a time. I want to bind to controls to the public...
How do I make controls run "At Client" on an ASPX Page? (6 replies)
microsoft.public.dotnet.framework.windowsforms
This is doubtless a REALLY fundamental question and maybe it's just too early in the morning but I want to know how to put a control on an ASPX Form but have it run "At Client" not runat server. For example a hyperlink for a "mailto:" As you might guess, I'm attempting to launch the user's default mail client (I don't necessarily know what that client is) so that he/she can send an eMail. Naturall...
Textbox Date Formatting (2 replies)
microsoft.public.dotnet.framework.windowsforms
How do you format the display of a Date Bound Textbox to display the date as a Shordate format 05/03/2001 instead of a longdate format 05/03/2001 12:00 AM?
error while executing store procedure command (2 replies)
microsoft.public.dotnet.framework.windowsforms
hi i'm getting an error message when trying to execute a store procedure. i'm using an ODBC driver to access Sybase 11 database server (the ODBC driver from microsoft) the error messgae is: "ERROR [HY000] [INTERSOLV][ODBC SQL Server driver][SQL Server]ct param(): user api layer: external error: An illegal value of 1024 was placed in the status field of the CS DATAFMT structure." the store procedur...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com