Click here to Skip to main content
15,892,927 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to close a form when move one to another form Pin
The ANZAC27-Oct-07 13:38
The ANZAC27-Oct-07 13:38 
GeneralRe: How to close a form when move one to another form Pin
Dave Kreskowiak28-Oct-07 3:49
mveDave Kreskowiak28-Oct-07 3:49 
QuestionTimer Control Help Pin
SilentCodingOne27-Oct-07 1:53
SilentCodingOne27-Oct-07 1:53 
AnswerRe: Timer Control Help Pin
AliAmjad27-Oct-07 2:12
AliAmjad27-Oct-07 2:12 
GeneralRe: Timer Control Help Pin
SilentCodingOne27-Oct-07 10:47
SilentCodingOne27-Oct-07 10:47 
Questionpositioning a textbox in the AXMSFlexgrid cell Pin
aransiola27-Oct-07 0:47
aransiola27-Oct-07 0:47 
AnswerRe: positioning a textbox in the AXMSFlexgrid cell Pin
Dave Kreskowiak27-Oct-07 3:48
mveDave Kreskowiak27-Oct-07 3:48 
GeneralRe: positioning a textbox in the AXMSFlexgrid cell Pin
aransiola27-Oct-07 9:28
aransiola27-Oct-07 9:28 
i need an editable grid like Flexgrid in vb6.0. There is AXMSFlexgrid in .net 2005 that works like vb6.0 flexgrid just that the properties and methods arent teh same

See my code below, if there is any help u can render
thanks

positioning a textbox control in the grid cell
I am using this control in my vb.net2005 project

im using something like this in teh FG_Keypress event


Private Sub Fg_KeyPressEvent(ByVal sender As Object, ByVal e As AxMSFlexGridLib.DMSFlexGridEvents_KeyPressEvent) Handles Fg.KeyPressEvent
Select Case e.keyAscii
Case 13
e.keyAscii = 0
Fg.Focus()
Exit Sub
End Select

With Fg
' block the qty remaining column not to accept any entry
Select Case .Col
Case 0
EditBox.Enabled = False
Exit Sub
Case 1
'to upcase col1 cell entry
e.keyAscii = Asc(UCase(Chr(e.keyAscii)))
EditBox.Enabled = True
End Select

EditBox.Text = Chr(e.keyAscii)
EditBox.SelectionStart = 1
EditBox.Visible = True
'
'note: the problem is here,
'
EditBox.SetBounds(.Left + .CellLeft, .Top + .CellTop, .CellWidth, .CellHeight)
EditBox.Focus()
End With
btnSave.Enabled = True
End Sub

the code works fine but the EditBox wasnot well positioned as expected. I just converted this portion that is working in vb6 to vsb.net 2005. While typing i wouldnt see the text box, but once the fg gotfocused, the content displays on teh grid


t.aransiola
GeneralRe: positioning a textbox in the AXMSFlexgrid cell Pin
Dave Kreskowiak28-Oct-07 3:47
mveDave Kreskowiak28-Oct-07 3:47 
GeneralRe: positioning a textbox in the AXMSFlexgrid cell Pin
Member 410891213-Aug-10 6:10
Member 410891213-Aug-10 6:10 
Questiongrid view control Pin
kadkir27-Oct-07 0:21
kadkir27-Oct-07 0:21 
AnswerRe: grid view control Pin
Abhijit Jana27-Oct-07 1:21
professionalAbhijit Jana27-Oct-07 1:21 
QuestionText Input Detection Pin
Absenm26-Oct-07 22:55
Absenm26-Oct-07 22:55 
AnswerRe: Text Input Detection Pin
AliAmjad27-Oct-07 2:30
AliAmjad27-Oct-07 2:30 
AnswerRe: Text Input Detection Pin
Dave Kreskowiak27-Oct-07 3:47
mveDave Kreskowiak27-Oct-07 3:47 
GeneralRe: Text Input Detection Pin
Absenm29-Oct-07 13:55
Absenm29-Oct-07 13:55 
GeneralRe: Text Input Detection Pin
Dave Kreskowiak29-Oct-07 14:38
mveDave Kreskowiak29-Oct-07 14:38 
GeneralRe: Text Input Detection Pin
Absenm29-Oct-07 15:30
Absenm29-Oct-07 15:30 
GeneralRe: Text Input Detection Pin
Dave Kreskowiak29-Oct-07 18:12
mveDave Kreskowiak29-Oct-07 18:12 
QuestionHow to generate serial hard disk? Pin
sovysim26-Oct-07 22:47
sovysim26-Oct-07 22:47 
AnswerRe: How to generate serial hard disk? Pin
Abhijit Jana27-Oct-07 1:20
professionalAbhijit Jana27-Oct-07 1:20 
AnswerRe: How to generate serial hard disk? Pin
Dave Kreskowiak27-Oct-07 3:43
mveDave Kreskowiak27-Oct-07 3:43 
QuestionRefreshing a drawing Pin
twsted f826-Oct-07 21:37
twsted f826-Oct-07 21:37 
AnswerRe: Refreshing a drawing Pin
AliAmjad27-Oct-07 2:37
AliAmjad27-Oct-07 2:37 
AnswerRe: Refreshing a drawing Pin
Luc Pattyn27-Oct-07 3:35
sitebuilderLuc Pattyn27-Oct-07 3:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.