Hello Guest it is March 28, 2024, 07:52:37 PM

Author Topic: Screendesigner "machscreen"  (Read 121556 times)

0 Members and 1 Guest are viewing this topic.

Re: Screendesigner "machscreen"
« Reply #20 on: April 14, 2009, 12:05:26 PM »
Hallo Scott,

thank you for your offer. I didn't expect someone to read the text while installing. It was just a parameter in my installation routine, I changed it and put it on my site.



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

Offline Greolt

*
  •  956 956
    • View Profile
Re: Screendesigner "machscreen"
« Reply #21 on: April 14, 2009, 10:38:25 PM »
Klaus

While you are at it you might as well do the same for the video plugin.  For us ignorant monolingual users.  ;D

Greg

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Screendesigner "machscreen"
« Reply #22 on: April 15, 2009, 07:56:43 AM »
Klaus,

   Ok, on the installer thing. (Please ALSO put "English" on your "Error Codes/messages also", and we could help you more on debugging.)

Found some more "Bugs" on the new screen designer.

1). I have enclosed a screen shot for this one,  When you go to add a New Page lets say 16, it will not let you add the page, and it gives an error, I would tell
you what it was, but it is in your laungauge.
2). I was checking to see if you can look at or edit, "png" style LEDs, when I cliicked on one to look at it, the Screen designer Crashes all together and exits after
clicking on the error dialogs.
3). The vertical sliders appear as a vertical rectangle with a solid color nothing else.

That is far as I got with this Screen designer so far........   I was gonna then Cheack to make sure that the "Dual" state Buttons and "Dual" state LEDs.

Also:  Any luck on adding a "Horizontal" Slider? In the Scream4 source, Art uses standard dc stuff and rectangles, he looks at the screen for the "Slider" Dro format code like this:

if( Format.GetAt(0) == 'S' )
   {
     m_DRO = Format.Find("D") != -1;
     m_Top = Format.Find('T') != -1;
      Slider = true;
      if( Format.Find( "%" ) != -1)
     {
       CString tFormat = Format.Right( format.GetLength() - format.Find("%") );
       format = tFormat;
     }
   }

if( !Slider || (Slider && m_DRO))
      pDC->DrawText( label, size,DT_RIGHT);  //draw the text..

   if( Loaded )
   {
      if( !Slider )
        image.image->Draw(pDC);
      else
      {
        image.image->Draw(pDC, tsize );
      }
   }

So he pulls the Text that shows it is a slider (I didnt post all the code here), but if it is a slider he formats the rectangle/dc as a vertical slider. I guess you could add an identifier for Horizontal slider and implement the object accordingly.

Scoll Bars:  Can you add scroll bars to the Vertical and Horizontal controls of the Designer Window it self.  For instance if I have a small computer screen, but I want
to design a screen for a larger computer, then I could scroll the designer up or right to get to parts that would not show normally.

scott
fun times

Offline Greolt

*
  •  956 956
    • View Profile
Re: Screendesigner "machscreen"
« Reply #23 on: April 15, 2009, 08:09:46 AM »

2). I was checking to see if you can look at or edit, "png" style LEDs, when I cliicked on one to look at it, the Screen designer Crashes all together and exits after
clicking on the error dialogs.

That is far as I got with this Screen designer so far........   I was gonna then Cheack to make sure that the "Dual" state Buttons and "Dual" state LEDs.


All my button graphics are png.  They all seem to work no worries. 

I use a lot of two state LEDs and they all work too.

Have not got it to crash since the nudge problem was fixed.

Greg

EDIT:  I also added new pages.  Still won't crash.
« Last Edit: April 15, 2009, 08:13:25 AM by Greolt »

Offline Greolt

*
  •  956 956
    • View Profile
Re: Screendesigner "machscreen"
« Reply #24 on: April 15, 2009, 08:17:37 AM »
When I go to "Frame size" and adjust the line width to 2 and click OK,

I get an error message saying "Please enter bitmap extensions"

Greg

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Screendesigner "machscreen"
« Reply #25 on: April 15, 2009, 08:38:06 AM »
Hmm, well it is crashing here like Clock work.

I am running Vista64 bit, perhaps there is an issue there then.

scott
fun times

Offline Greolt

*
  •  956 956
    • View Profile
Re: Screendesigner "machscreen"
« Reply #26 on: April 15, 2009, 08:45:08 AM »
OK,  XP here

Greg

EDIT:  It would be good to get a few more users trying this out to get a better spread of reports.

So any readers who have a bit of Screem4 experience want to jump on board and give it a whirl.  :)
« Last Edit: April 15, 2009, 08:49:51 AM by Greolt »

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Screendesigner "machscreen"
« Reply #27 on: April 15, 2009, 02:22:51 PM »
Greg, I have been downloading every update but haven't had time to play yet. Probably won't be able to for a couple of more weeks but looking forward to it.

Thanks for your efforts Klaus.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Screendesigner "machscreen"
« Reply #28 on: April 15, 2009, 03:15:41 PM »
Hi Scott,

I changed all the static German part to multilingual (I hope I found all entries). Can you give me a hint, how to read your enclosed screen shot? Please tell me the png format LED you have problems with. The vertical slider is already implemented. I could define an horizontal slider, the question is, can Mach3 (all Versions) handle it.  About the scrolling I will think about.


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

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Screendesigner "machscreen"
« Reply #29 on: April 15, 2009, 04:30:47 PM »
Klaus,  again thanks for your time and efforts and very fast responses.

  Yes the Horzontal slider needs to be done.  You can do a Horizontal slider since it is you who will display the object, in the snippet of code from Scream4 above, you willl see the vertical slider code, and that he just grabs the format code, uses the Crect and dc to make the slider then feeds it the DRO in question.

screen shot of the "Cant add a window error" attached.

The LED that I tried to double click to edit is the  "Reset" pnb LED that surrounds the OEM mach3 Reset button on it's standard screen.

Looking forward to the "Multilinqual" thing.

scott
fun times