I have a report that when the data is too large it shows #### in preview but when I export it to PDF or view it in my .net program it clips the numbers instead of showing the ####. Is this feature only there for the preview pane?
There is an example here http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q855q
that is supposed to simulate a click in the upper lefthand corner of a datagrid in order to make the grid show no current cell. Unfortunatly the example appears to be incomplete because the function "send...
here is what i currently have in my derived datagrid that detects when tab is pressed and selects the next control.
Protected Overrides Function ProcessCmdKey(ByRef msg As System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys) As Boolean
If msg.WParam.ToInt32() =...
Im wondering what kind of errors "DataSet.HasErrors()" would be detecting? ie why should I include a has errors check in my code. Thanks for any info.
Private Sub beforesave(ByVal sender As System.Object, ByVal e As Word.????????) Handles wordApp.DocumentBeforeSave
End Sub
It says the method cannot handle the event because they do not have the same signature, the problem is I dont know what e need to be to be able to handle the event...
I am trying to make a report that shows the information from the parent record then shows all the child record and continues for all records
similar to this
Entry 1 information
Detail information
Detail information
Detail information
Entry 2 information
Detail information...
I have a stored proceedure that returns 1,2,3 or 4 depending on what happened in the proceedure. How can i get that return code back to vb.net?
I only know how to get the number of rows affected, i woudl appreciate any help. This is a little snip of the code i have:
cmdParms.Connection =...
I have this code in a stored proceedure, the error i get is "Error 156: Incorrect syntax near the keyword 'END'.". Its probably something simple as I dont yet have a firm grasp of SQL. Thanks for any help.
BEGIN
Select @returnval = 0
BEGIN TRANSACTION AddEditJournalEntry
IF...
What do i need to do so that when a datagrid cell is active and F8 is pressed it will fire the keydown event of my form? Also why is it that a custom columnstyle (similar to a combobox column) does fire the forms keydown event but a standard textboxcolumn does not?
Is there any way to save a datagrid row without having the current row change? Currently i can change the value of a column of a row in a datagrid, the new value is not reflected in the dataset until the current cell is a different row. I need a method to save the current row which i assume will...
I would like to put an arrow on a button (similar to a go to first record button " |< ") i can create this as a bmp and add it but when the color of the button changes the background of the bmp does not change. Is there some other(better) way to add an arrow? If not then is it possible...
I made an unbound column in my datagrid using the example at http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q787q the problem is that even though it cant be edited or selected the grid still tries to tab to it so that the column before it has to be tabbed out of twice. (the example...
I have a strongly typed dataset where each row from table 1 has many records in table 2. I have all the fields from table 1 bound to textboxes on my form. How can I have a datagrid on my form only display the records from table 2 that are related to the current row(current position of the...
I have a column of my datagrid with the format set to "$0.00" so it displays as currency. The problem is if a user types $1.00 in the column it reverts back to the value it was previously. If they type 1.00 without the "$" then it works fine and will automatically add the...
here is my code
Private Sub pnlGlGrid_MouseWheel(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles pnlGlGrid.MouseWheel
If Me.blnGlCodeScroll = True Then
'cancel scroll
End If
End Sub
what i want to do is if...
Im not sure how to explain this so im gonna describe what ive done and the tab problem that is occouring.
First I created a custom control(control1) that has a textbox on it and a label under the textbox. The label is not a tabstop the textbox is. Now if i use this control(control1) on a form...
Currently when i select all the text in a textbox (me.textbox1.selectall ) the caret ends up at the very end of the text. I would like the caret to end up at the beginning of the selected text but i cant find anyway to set the caret position. Thanks for any help.
Private Sub TextBox1_MouseDown(ByVal sender As System.Object, ByVal e As MouseEventArgs) Handles TextBox1.MouseDown
Select Case e.Button
Case MouseButtons.Left
Me.TextBox1.SelectAll()
End Select
End Sub
What i would like to do is cancel the...
What i want to do is whenever the downarrow is pressed, whether the datagrid has focus or not, the datagrid reacts as if the downarrow was pressed while it has focus. How would i go about doing this? I know how to use the forms keydown to react to the downarrow but i dont know how to then pass...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.