|
hi first u write the code and in load form for line u disable radio button not first ok
your problem is sol ve
|
|
|
|
|
You might want to rethink that post. He wants the control disabled, but not showing the color scheme that comes with it. Setting the Enabled property to False at any time will change the colors to something he doesn't want.
|
|
|
|
|
Dave Kreskowiak wrote: You might want to rethink that post.
Boy, someone really missed the point of the original post
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Yeah, I was standing behind the guy when he fired, and still had to duck as the bullet wizzed by!
|
|
|
|
|
You are absolutely right. She doesn't want that.
|
|
|
|
|
|
OK, so? I gave him the quick and dirty method. From his original post, it didn't sound he had much knowledge, actually none, of the intricacies of creating his own controls to do this.
|
|
|
|
|
The Original post was from me. And yes, I don't have much knowledge with creating vb.net 1.1 controls, but it doesn't mean I can't figure it out by searching the web for information from nice people like you. I thought I would post a link to some more detailed info for others to use.
Have a great day!
ms-hytech
|
|
|
|
|
Hi all!
How can I catch the event whenever a user maximizes a form by clicking on the maximize button?
PS: I don't seem to have to worry about users resizing the form manually.
Thanks in advance!
Regards,
Jensen
|
|
|
|
|
There is no "maximize event". The form is just told to resize itself, which will fire the form's Resize events. You can then check the form's WindowState property.
|
|
|
|
|
I cant seem to be able to catch the resize event correctly.
Private Sub pnl_Chart_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles pnl_Chart.Resize
|
|
|
|
|
If you maximize a Form, its the Form that gets resized; the Controls on it may or may not
resize. Why do you use pnl_Chart_Resize??
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
why do i!? my mistake!!! sryy
thanks for highlighting that!
Regards,
Jensen
|
|
|
|
|
Hi,
I'd like to know how to get the currently selected file in Windows. So if the user selects a file, my program copies/renames it etc..
--Zaegra--
|
|
|
|
|
I'm pretty sure that Windows nowadays works pretty hard against people writing viruses.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Lol! I'm NOT making a virus
It is a serious question for a serious program.
|
|
|
|
|
No, but the functionality you want is "virus-like".
Windows, actually the Explorer Shell, doesn't expose a method to tell you which file(s) is(are) selected.
|
|
|
|
|
In datagridview if I press tab key the focus move to next cell. Like that I want to move to focus to previous cell by pressing shift+tab key. What i want is how can i achive this through programm. for moving to next cell I am using sendkey(tab) commnad. but if i give sendkey(shift+tab) error is generated. please tell how to combine different key combinations in the datagridview (ex) shift+tab or control+home or control+end
|
|
|
|
|
try
Sendkeys.Send("{+Tab}")
Salman Sheikh
|
|
|
|
|
I have an option of uploading image files in my website.But after uploading I am facing a problem.Whenever I try to upload an image,it asks me for the FTP username and password.What is the solution to this problem?
ARINDAM
|
|
|
|
|
How are you expecting to upload images ? Sounds like you're trying to use FTP.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Not actually.I am just trying to upload an image using the fileupload control of asp .net 2.0.Can you tell me if my problem is something related to identity impersonation?
ARINDAM
|
|
|
|
|
Ah - you cross posted, that's why I answered this twice.
If you're using the file upload control, then I've never seen that before. Please continue discussion in the correct forum ( ASP.NET ).
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am developing some application using the datagridview control. Inwhich if I press the enter key in any cell the focus move to next row.but I want the focus should move to next cell just like pressing the tab key. How can i solve the problem. Please help
|
|
|
|
|
make the class below.run the program and add the control to your project.
Public Class MyDataGridView
Inherits DataGridView
Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs)
If e.KeyCode = Keys.Enter Then
Dim j As New System.Windows.Forms.KeyEventArgs(Keys.Tab)
MyBase.OnKeyDown(j)
Else
MyBase.OnKeyDown(e)
End If
End Sub
End Class
A.E.K
|
|
|
|