RE: [NF] Help With VB.Net

2022-01-10 Thread John
Many thanks Alan, I'll give it a try. I knew Profox would come up with the goods 😊 John John Weller 07976 393631 > -Original Message- > From: ProfoxTech On Behalf Of Alan Bourke > Sent: 10 January 2022 14:58 > To: profoxt...@leafe.com > Subject: Re: [

Re: [NF] Help With VB.Net

2022-01-10 Thread Alan Bourke
Assuming you are using Windows Forms and not WPF ... You can detect an 'Enter' keypress via the KeyPress event. Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress If e.KeyChar = Microsoft.VisualBasic.ChrW(Keys.Return) Then Me