|
Protected Overrides Sub OnEnter(ByVal e As System.EventArgs)<br />
MyBase.OnEnter(e)<br />
If Not Me.ReadOnly Then Me.BorderStyle = Windows.Forms.BorderStyle.FixedSingle<br />
End Sub<br />
Protected Overrides Sub OnLeave(ByVal e As System.EventArgs)<br />
MyBase.OnLeave(e)<br />
If Not Me.ReadOnly Then Me.BorderStyle = Windows.Forms.BorderStyle.Fixed3D<br />
End Sub
After adding this code, when i try to shift next control by pressing tab key ; why cant i focus to the next control ?
|
|
|
|
|
How can i override readonly property of Text Box
Public Overrides Property [ReadOnly]() As Boolean -- this doesnt work it says it is not overridable.
Is there any other method except controlling keypress,keyup,keydown events?
|
|
|
|
|
Override it to do what exactly? Change the visual look of readonly fields maybe?
|
|
|
|
|
IF value is TRUE, i'll set TabStop to FALSE.
|
|
|
|
|
protected override void OnReadOnlyChanged(EventArgs e)
{
this.TabStop = !this.ReadOnly;
base.OnReadOnlyChanged (e);
}
|
|
|
|
|
hi there
whil i open an input file which is huge in size , if some popup occurs in between the loading fails , if i break and try to find the error it is not giving any source code what might be the reason???
thanks in advance..
Bharath.S
bharath.s
|
|
|
|
|
To answer ur question,yes i'm updating my database.I have been trying to use the ".preview" function i.e
datareport1.preview (but there's no such function I can only get .show function)
Can you also plz show me how to convert a datareport into a PDF file and save it or how i can manupulate the exporting facility on datareports to enable exportin to PDF
Your responsibility determines your authority which in turn specifies your teritory
|
|
|
|
|
hi,
i want to change a cell color in datagrid.pls help
sdfsdfsdfs
|
|
|
|
|
|
To answer ur question on whether i'm updating my database after filling the form.I am updating my database.
Can u also plz show me how to convert a report to PDF and save it.Oh by the way with the quick report issue i tried the .preview functions but VB 6.0 doesnt have such a function
thanks in advance
Your responsibility determines your authority which in turn specifies your teritory
|
|
|
|
|
i have a data grid in my WINFORM application. and i want to edit perticular row by cheking chek box of thar respective row. so, i want to code for this problem. plz remember this is my winform application
|
|
|
|
|
Thank you for informing us on your intentions. Please feel free to post any questions if you run into any problems when coding for this.
---
b { font-weight: normal; }
|
|
|
|
|
I want to input value on datagrid, but I don't know how to check the primary key (when it's empty or duplicate). If have error message I want to display my error message not error of window. please...
Thanks a lot.
|
|
|
|
|
If a DataTable is bound to your grid you could use its DataRowChanging/Changed events to validate data.
|
|
|
|
|
Thanks for your help. I used design mode to created oledbadapter, oledbconnection, dataset and combine with a table on SQL Server 2000. When I press Tab key to enter a new row on datagridview but I can't check a old row. Could you help me and give me code demo. Thanks.
|
|
|
|
|
How to take a user-defind printout by a single click of the button without using the control: "Print Preview DialogBox"?
Friends, I made one invoice bill format so I want generate a print, directly send to printer which is default? suggest me?
wish me as All The BEST.
|
|
|
|
|
Just create a new PrintDocument, set the page/printer settings and call Print(). You surely have to handle the PrintPage event (the same as in the preview dialog).
|
|
|
|
|
hi everybody
I have a window application in vb.net
i want that on click of a button on a form its labels and textboxes text change to some other language such as germany,Russian etc.
i know it can be done but i dont know how, if anybody know then,please help me
Thanks
|
|
|
|
|
Search this site's articles for localization/globalization.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi All,
vb.net/C# applications are opened and compiled (build) properly while executing it will error message like 'The application failed to initialize properly(0x0000005). Click on ok to terminate the application'
And second problem When i open web application Visuval Studio closed automatically. I checked IIS it working fine(http://localhost).My web application also working fine in IE. Here I checked aspnet_state in that it will give error message like 'exiting with error code 0x80070427'. In the event log
FileName w32time.dll
File Version 5.1.2600.2180
Source W32time
Type Error
Please help me how to resolve those problems
Thanks & Regards
Johnson
|
|
|
|
|
Hi friends,
i m working with Diamonds Project. we used a weighting Machine for Measure the weight of Diamonds....so i want to Connect that machine with my Project... so please help me to Integration.....if u have sample code or DLL for that please send ....virani_dilip@yahoo.com
|
|
|
|
|
Have you consulted the manual for the device, or checked if they have a home page that may contain any information?
How to interact with an external device is very specific to the type of the device, so at least you have to specify what device you are using for someone to be able to give you any information on it.
---
b { font-weight: normal; }
|
|
|
|
|
Integration with devices plugged into a computer is usually done with a COM component provided by the manufacturer.
As already suggested speak to the manufacturer of the item you have.
|
|
|
|
|
hello guys anyone can give me a sample code on how to edit text in listview.subitem without displaying any dialog box?
thanks!!!
|
|
|
|
|
I have a problem using the menubar with a datasource of the sitemap. The sitemap has the features that I need but not the structure I'm looking for. The sitemap provides a top-down structure, but unfortunately when you are populating the menubar everything becomes under one menulist. I would like each menulist to have it's own ability to have a top-down structure with the securitytrimmingenabled. How can I accomplish this?
Blah blah blah... say your prays...
|
|
|
|