Hello Guest it is July 15, 2024, 09:07:26 PM

Author Topic: need a hints "how to do" if possible ...  (Read 3585 times)

0 Members and 1 Guest are viewing this topic.

need a hints "how to do" if possible ...
« on: May 12, 2009, 12:44:36 PM »

i need a feature and i'm not shure if it's possible:

when i'm on the MDI-Screen to lit a LED isn't a problem (or any other screen)

but to lit a LED (or activate an output) when on any screen the MDI-line is opened (waiting for input) - possible in any way ?

Regards Frank

Offline zealous

  •  489 489
  • HI!
    • Artsoft Solutions
Re: need a hints "how to do" if possible ...
« Reply #1 on: June 02, 2009, 11:51:23 PM »
I'm not exactly sure of the issue you are having but you could create your own MDI input if you like:

Past this code on a Button:

Code: [Select]
Private Sub cmdok_Click()
Dim ans As String

MyGCode = InputBox("Enter Gcode", "My MDI")

If MyGCode = "" Then

MsgBox "Gcode Canceled"


Code MyGCode

End If

End Sub
« Last Edit: June 03, 2009, 05:45:11 PM by zealous »