Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #19354

Re: Enter al posto tab .

From "Ettore" <ettor50@nomail.com>
Newsgroups it.comp.lang.visual-basic
Subject Re: Enter al posto tab .
Date 2018-05-02 17:25 +0200
Organization A noiseless patient Spider
Message-ID <pccl95$ash$1@dont-email.me> (permalink)
References <pcc9ne$lpi$1@dont-email.me> <pccd5h$1umn$1@gioia.aioe.org> <pccda3$1v0g$1@gioia.aioe.org>

Show all headers | View raw


>Private Sub Text1_KeyPress(KeyAscii As Integer)
>Const MaxDec As Integer = 2
>dim MaxCar As Integer
>Dim DoveVirgola As Integer  ' se Raggiunti massimi decimali
>Dim NumIntero As Integer
>MaxCar = 12
>If Text1.MaxLength > MaxCar Then MaxCar = Text1.MaxLength
>NumIntero = MaxCar
>If MaxDec > 0 Then NumIntero = MaxCar - (MaxDec + 1)
>If KeyAscii = 45 Then ' segno negativo
>    If Len(Trim(Text1.Text)) = 0 Then
>        KeyAscii = KeyAscii
>.................. CUT
>Sauro

Ho tagliato un bel pezzo, hoprovato a compilarlo ma vedo onde in rosso, 
quindi ho modificato Text1, in textbox1,
Ma da' errore sintassi  ( TextBox1.SelLength .............. e prima .. 
TextBox1.SelStart ) dicendo che non e' un membro di TextBox ...... che gia' 
mi sto grattando la fronte...........
BC30035 - 
www.bing.com/search?q=BC30035+Visual+Basic+AND++VB.NET+Errore+di+sintassi.&form=VSHELP

ciao .

Back to it.comp.lang.visual-basic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Enter al posto tab . "Ettore" <ettor50@nomail.com> - 2018-05-02 14:08 +0200
  Re: Enter al posto tab . "Sauro" <vicchi@crsscala.it> - 2018-05-02 14:33 +0200
  Re: Enter al posto tab . "Sauro" <vicchi@crsscala.it> - 2018-05-02 15:06 +0200
    Re: Enter al posto tab . "Sauro" <vicchi@crsscala.it> - 2018-05-02 15:09 +0200
      Re: Enter al posto tab . "Ettore" <ettor50@nomail.com> - 2018-05-02 17:13 +0200
      Re: Enter al posto tab . "Ettore" <ettor50@nomail.com> - 2018-05-02 17:25 +0200
        Re: Enter al posto tab . "Sauro" <vicchi@crsscala.it> - 2018-05-02 19:33 +0200
          Re: Enter al posto tab . "Ettore" <ettor50@nomail.com> - 2018-05-03 13:41 +0200

csiph-web