PC²
|
JUCUTUQUARA, VITÓRIA ES - BRASIL
|
|
Postada em 30/07/2004 10:21 hs
Olá, desenhe um textbox Private Sub Text1_Change() Dim Search$ Dim I% Dim SearchLem As Integer On Error Resume Next Search$ = UCase$(Text1.Text) SearchLem = Len(Search$) G.SelectionMode = flexSelectionByRow If SearchLem Then Screen.MousePointer = 11 For I% = 1 To G.Rows - 1 If UCase$(Left$(G.TextMatrix(I%, 1), SearchLem)) = Search$ Then G.Row = I% G.col = 1 G.RowSel = I% G.ColSel = 1 G.TopRow = I% Exit For End If Next Screen.MousePointer = 0 End If End Sub Private Sub MSFlex_KeyUp(KeyCode As Integer, Shift As Integer) Text1.Text = CHr$(KeyCode) End Sub
____________________________ PC² T+
|
|
|