Calling Jog panel from button code not working.

If you think you've found a bug post it here.

Calling Jog panel from button code not working.

Postby beefy » Sun Mar 17, 2019 5:51 am

Hi Balazs,

I tried to call out the jog panel using:

Callbutton(770); Jog Panel show
Callbutton(771); Jog Panel hide
Callbutton(772); Jog Panel toggle

Nothing happened.

Keith.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Calling Jog panel from button code not working.

Postby dezsoe » Sun Mar 17, 2019 6:02 am

Hi Keith, Where did you call them from? Macro or plugin? And which version?
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Calling Jog panel from button code not working.

Postby beefy » Sun Mar 17, 2019 8:06 am

Hi Dezsoe,

latest development version 1.2109

First I called them from a plugin and found nothing was happening. Any other Callbutton() is working fine from the plugin.

So then I made 3 individual macros, one for each separate jog panel Callbutton() function. I entered each one in turn in MDI but still nothing happened.

Keith.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Calling Jog panel from button code not working.

Postby dezsoe » Sun Mar 17, 2019 9:24 am

The same here and also with 1.2049.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Calling Jog panel from button code not working.

Postby beefy » Sun Mar 17, 2019 10:26 am

Thanks Dezsoe,

at least good to have the bug confirmed.

Keith.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Calling Jog panel from button code not working.

Postby Dan911 » Sun Mar 17, 2019 10:49 am

I just tried in 08 (plugin) and seems to be working fine, I guess I'm finally going to get around to loading 09.

How are you calling in plugin?
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Calling Jog panel from button code not working.

Postby Dan911 » Sun Mar 17, 2019 11:00 am

Hmmmm, just tried 49 in plugin and seems to be working there also.

Once again how you calling???
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Calling Jog panel from button code not working.

Postby beefy » Sun Mar 17, 2019 11:04 am

Dan911 wrote:How are you calling in plugin?


In the plugin I pass an int parameter via a variable:

int buttonCode = 770;

UC.Callbutton(buttonCode);


And in a macro I'd simply write:

exec.Callbutton(770);

Neither brings up the jog window.

Keith
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Calling Jog panel from button code not working.

Postby Dan911 » Sun Mar 17, 2019 11:15 am

Ok, how I tested is I have a button(#5678) and in it's button event call the jog window UC.CallButton(770) and all works fine.
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Calling Jog panel from button code not working.

Postby Dan911 » Sun Mar 17, 2019 11:27 am

I just created...
Code: Select all
public void buttonnum(int num)
        {
            UC.Callbutton(num);
           
        }


And worked NP in 49 and 08 :?
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Next

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 2 guests