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: [NF] Help With VB.Net
>
> Assuming
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
I am trying to help a friend write an app in VB.Net. I need some code to fire
when a number is entered into a textbox and Enter pressed, as in the Valid
event in VFP, but canβt seem to find the appropriate VB event β any suggestions
gratefully received. Iβm asking here because it is easier to
SFA ... π
-Original Message-
From: ProfoxTech On Behalf Of Alan Bourke
Sent: 10 January 2022 07:49
To: profoxt...@leafe.com
Subject: Re: Problem trying to run a Powershell script as an Explorer shell
command (Fox related)
> I have everything working as expected for SCX, VCX, MNX, FRX an
4 matches
Mail list logo