Hello Guest it is October 14, 2019, 10:17:04 PM

Author Topic: Mach 4 Feature Request  (Read 305807 times)

0 Members and 1 Guest are viewing this topic.

Offline Tweakie.CNC

*
  • *
  •  7,945 7,945
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Mach 4 Feature Request
« Reply #160 on: September 24, 2014, 01:29:01 AM »
Thank you Steve & Brian.  ;)

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Mach 4 Feature Request
« Reply #161 on: September 26, 2014, 05:00:49 AM »
Thank you Steve & Brian.  ;)

Tweakie.

I'd love to see this working on any axis, not only on axis A :)

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Mach 4 Feature Request
« Reply #162 on: October 10, 2014, 02:42:52 PM »
Hey Steve,

   In the Mach4 Screen designer, could you make it where we have to choice to change the color
of the Lua Panel from that ugly brown background only, to a choice of colors?

     OR!!! Even better have a "Transparent" option or the equivalent of it using what ever the background color is that it is sitting on.

Scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline smurph

*
  • *
  •  1,138 1,138
  • "That there... that's an RV."
    • View Profile
Re: Mach 4 Feature Request
« Reply #163 on: October 10, 2014, 04:55:55 PM »
Throw another panel on top and make it any color you want.

Transparent windows are not supported on all platforms.  :(

Steve

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Mach 4 Feature Request
« Reply #164 on: October 10, 2014, 06:17:17 PM »
ok, thanks that will work

Scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Mach 4 Feature Request
« Reply #165 on: October 10, 2014, 07:56:43 PM »
Hey Steve,

   I found an even easier solution the LuaPanel color problem, I just used the GetParent(), and then set the color of the
parent by setting the background color from the script.  I also tried using the GetBackgroundColour(), and the refreash() and ClearBackground() functions but for what ever reason even though I could see the Getbackground color coming in, it would not set it that way even with the refreash and/or clearBG funcs...

So, the solution was/is to just use the SetBackgroundColour(wxColor of your background), and it works, put this code,
at the top of the main, in the else panel section:

else
   panel = mcLuaPanelParent;
   local window = panel:GetParent();
   window:SetBackgroundColour(wx.wxColour(230, 230, 230));--use the same color bg as the panel sits on in screen designer
   window:ClearBackground();
   local wsize = window:GetSize();
   panel:SetSize(wsize);         
   panel:Connect(
          wx.wxEVT_CLOSE_WINDOW,
          function (event) 
               event:Skip();
          end);
end

Scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Mach 4 Feature Request
« Reply #166 on: October 11, 2014, 12:55:23 AM »
Steve,

window:SetWindowStyleFlag(wx.wxBORDER_NONE);    
window:Refresh();

will also make the sunken 3d boarder disappear so the lua panel become completely "invisible"
on the screen.

Scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: Mach 4 Feature Request
« Reply #167 on: October 16, 2014, 01:11:00 AM »
Would it be possible to specify having the menu bar hide itself when in full screen mode, and have it show when the user presses 'alt'?  This would allow maximum screen area to be available for use by mach 4 screens.

This is similar to several Windows apps that I know of.


-Freeman
I'm not a complete idiot...
    there are some parts missing.
Re: Mach 4 Feature Request
« Reply #168 on: November 16, 2014, 10:15:26 PM »
I'm not sure where this request should go.  I have a USB pendant that works fine with Mach 3.  What do I need to get it to work with Mach 4?  I suspect I will need to write a script but I don't know where to start looking for functions.

Peter

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: Mach 4 Feature Request
« Reply #169 on: November 19, 2014, 09:54:59 AM »
In the tool table AND the fixture offset table it would  be NICE if you could EXIT the tables without a mouse.

(;-) TP