Hello Guest it is April 26, 2024, 03:11:45 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - stevehuck

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 »
161
VB and the development of wizards / Input box help?
« on: September 25, 2011, 09:23:52 AM »

This is the example from the reference. I'm guessing that the text in the first text box should be returned as TextBox1 but it always seems to equal "". If i'm wrong what variable returns what is input into the text box.




Sub Main
Begin Dialog TextBoxSample 16,30,180,96,"Text Boxes and Text"
OKButton 132,20,40,14
CancelButton 132,44,40,14
Text 8,8,32,8,"Text Box:"
TextBox 8,20,100,12,.TextBox1
Text 8,44,84,8,"Multiline Text Box:"
TextBox 8,56,100,32,.TextBox2
End Dialog
Dim Dlg1 As TextBoxSample
Button = Dialog ( Dlg1 )



Text in textbox one = TextBox1   ???????????????



End Sub


162
VB and the development of wizards / Re: DRO color help?
« on: September 24, 2011, 04:53:38 PM »

Is there a way to shift the numbers in the DRO to the left a little bit? The numbers are right against the right edge and would look better if they were a bit to the left.

What I do is have a background DRO in my background image, the same color as the DRO. Uncheck "Boxed DRO's" in general config, and place the DRO slightly to the left, which gives the right border you're looking for.

Good one!

I'll give it a try.

163
VB and the development of wizards / Re: DRO color help?
« on: September 24, 2011, 04:51:41 PM »
Have you specified an image path in the Generic progr settings dialog? This path is only for development of different images on the same page. Normally Mach3 expects the images beyond Mach3\Bitmaps.
I don't know, whether wizards are handled different.
Klaus

No Klaus, the user defined image path is blank. I set the image path when I clicked on the dro for each individual DRO.

164
VB and the development of wizards / Re: DRO color help?
« on: September 24, 2011, 04:48:17 PM »

(1) The redDRO is just an image that you overlay the dro on.  You set the colors of the actual DRO to white with black letters.

(2) DID the image that the DRO sits on NOT show up in mach?

(3) Were you starting from scratch or modifing another screen to make it work.



(1) Yep I know that. I had the dro set as white with black and the image path set to point at the image in the wizard's "bitmap" folder

(2) Yes the image did not show up in mach even when it looked and worked perfect in Machscreen.

(3) Yes I am starting from scratch. I put the whole thing together from a blank screen using MachScreen.

165
VB and the development of wizards / Re: DRO color help?
« on: September 24, 2011, 08:24:18 AM »
Works on everybody's machine but mine.

Is there a way to shift the numbers in the DRO to the left a little bit? The numbers are right against the right edge and would look better if they were a bit to the left.

Sorry about all the questions. Still trying to figure all this out.

166
VB and the development of wizards / Re: DRO color help?
« on: September 23, 2011, 11:21:14 PM »
I don't have an answer. If I create a new screen with a single DRO, it works fine. But, it's not a turn wizard.


Maybe it wont work in Turn. I did the same thing with the new screen and it wouldn't work in turn or mach mill but the 1024 screen has green dro's  greendro.png

167
VB and the development of wizards / Re: DRO color help?
« on: September 23, 2011, 09:31:10 PM »
What's the full path? It should work.

G:\Mach3\TurnAddons\PenMaker\Bitmaps\RedDRO.png


168
VB and the development of wizards / Re: DRO color help?
« on: September 23, 2011, 08:34:42 PM »
Yes I did

Set the dro color to white
Set text color to black
Image path set to redDRO.png

Like I said, in machscreen it looks great. When I load the wizard in mach it's like the image is missing.

169
VB and the development of wizards / DRO color help?
« on: September 23, 2011, 07:42:16 PM »
I am trying to change color of the dro's. I copied the reddro.png file into the wizard's "bitmap" folder. I then changed the text to black and the dro to white. In machscreen the dros look great but when I run the wizard in mach the dros are just white with black.

Is there a setting in mach that i'm missing? 

170
Tangent Corner / Anybody turn Woodcraft pen kits?
« on: September 19, 2011, 04:54:12 PM »
I am writing a wizard for machturn for turning pen blanks. I cant seem to find any information for the finished diameter of any of the pens. I do have a few from the guy whom i am writing the wizard for. There are 30 different pens, key rings, ect, and I would like to include as many as I can for him.



Anybody have the info or know where to get it. Here are some of the ones I know from measuring the bushings.



Wall Street II            .480

Wall Street III           .530

Slim Twist                .335

Slim click                  .375

Bullet                       .365

Key Chain                 .375

Cussion grip              .375

Bracelet helper          .455

Detachable Key chain  .430

Shot gun shell            .800

Tooth pick holder        .490


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 »