Author Topic: Tranparent Pushbutton - Dro Mach3  (Read 1193 times)

0 Members and 1 Guest are viewing this topic.

Offline TPS

  • Active Member
  • Posts: 1,119
    • View Profile
Tranparent Pushbutton - Dro Mach3
« on: December 14, 2017, 12:48:26 PM »
Hi guy's

for the moment i am a Little bit out of ideas (probably im am sitting on the pipe)

I have written a VBScript for numeric Inputs , via transparent button, on a Touchsreen witch is able to to enter values into a specified DRO (i know this Auto-Calculator Option) .

to use it, it is necessary, to put a "transparent Button" over the DRO Display.

for the moment i am hang up, to get the "transpartent button" as the "TOP" Event,
means the DRO is the master, and takes the focus for Input, and the button Event is not triggerd.

hope somebody understands what i am trying to explain in my bad Bavarin english.

Thank You Thomas

PS. if i get this running, it will be shared.
 
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Klaus1311

  • Active Member
  • Posts: 492
    • View Profile
    • Hard - and Software
Re: Tranparent Pushbutton - Dro Mach3
« Reply #1 on: December 14, 2017, 05:09:20 PM »
Hi Thomas,

a few questions,
 
what screen editor are you using?
can you put your screenset and script on the forum?

Klaus
The brain isn't a soap, it doesn't shrink when used.

Offline TPS

  • Active Member
  • Posts: 1,119
    • View Profile
Re: Tranparent Pushbutton - Dro Mach3
« Reply #2 on: December 15, 2017, 03:01:16 AM »
Hello Klaus,

ich denke wir k├Ânnten in Deutsch weitermachen, aber um die anderen im "Rennen" zu halten machen wir in Englisch weiter.

i am using your screeneditor.

usage is very easy.
-copy the attached macro in your macrofolder

put this code into button , for example to edit OEMDRO(824)

Code: [Select]
Sub Main
  newvalue = NumericKeyboard("OEM DRo 824", GetOEMDRO(824) )
SetOEMDRO(824 ,newvalue)

End Sub
'-----------------------------------------------------------
'TongIL has to be replayced with your Profile Name
'-----------------------------------------------------------
#Expand <\..\..\macros\TongIl\Numeric_1>


as wiritten, the code itselve is not the Problem, only to get the "Tranparent Pushbutton" to be the 1st if it is placed over the DRO.

Thank You Thomas
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Klaus1311

  • Active Member
  • Posts: 492
    • View Profile
    • Hard - and Software
Re: Tranparent Pushbutton - Dro Mach3
« Reply #3 on: December 15, 2017, 04:54:03 AM »
Hi Thomas,

since I don't have your screenset, I can only speculate. Did you try to change the display order? To do that, make sure multiple selection is on (second icon from the right in the toolbar must show "M"). Hit a spot with the left mousebutton where the button and DRO overlap. MachScreen will show a dialogbox with the control elements. By dragging the bottom element upwards you change the display sequence. If that doesn't help please let me know.

Klaus
The brain isn't a soap, it doesn't shrink when used.

Offline TPS

  • Active Member
  • Posts: 1,119
    • View Profile
Re: Tranparent Pushbutton - Dro Mach3
« Reply #4 on: December 15, 2017, 05:25:29 AM »
Hi Klaus,

that was the clue. did not know that can Change order in this selectbox.

every day a new Experience.

Thank You very much.

Thomas
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.