« first day (1569 days earlier)      last day (3378 days later) » 

7:54 AM
posted on February 01, 2015 by Scott Hanselman

I have this 3D Printed Spool Holder on the top of my Printrbot Simple Metal 3D Printerl that looks like this: It works great and fits my RioRand generic PLA Filament spool exactly. However, I went down to Fry's Exectronics to get some filament today and all they had was small Makerbot spools. They were cheap, so I got two. When I got home I noticed that the hole in the spool is HUGE. It t

 
8:19 AM
@BrianJ There is currently no style for angular. If I get time I'll write one.
@BrianJ Value="{Binding DegreeOutput}"
 
 
6 hours later…
1:59 PM
@JohanLarsson I added degreOutput to the value property like this, Value="{Binding degreeOutput}" should this work? Can't test until this evening.
 
2:10 PM
@JohanLarsson so setting the Value="{Binding degreeOutput}" doesn't have any effect on the gauge. I must be missing a step in setting this up?

This the layout for the screen: http://hastebin.com/nehajelako.xml

Do I need to perform an extra step to set the binding up for `degreeOutput`, this is the double variable in the code behind that outputs the degree readings from the device.
 
 
1 hour later…
3:39 PM
@BrianJ should work as long as degreeOutput is a property in your datacontext
 
4:26 PM
@JohanLarsson I'm sure what you mena by data context, is this a property that needs to be set?
 
Datacontext must be set for bindings to work
usually datacontext is set on the window
Have you never used binding in wpf?
Binding is the nicest feature.
 
*not
*mean
 
not following
 
4:50 PM
@JohanLarsson so I found the data context tab for the gauge in "Properties" but when I clicked "New", degrreOutput does not appear in the list of available objects. How can I add it to the list so that degreeOutput can be set as the value for the gauge?
 
you probably don't want to set datacontext explicitly for tha gauge.
Do you have any bindings working?
here is a small sample of how to use bindings in wpf. Datacontext is set here
 
@JohanLarsson no bindings working so far, what steps should I be following to set this up? I've set Value="{Binding degreeOutput}" bar that I haven't done any further configuration.
 
Did you check out the sample?
Clone it and play around with it. It is probably a decent way to understand bindings.
It is very minimal.
 
5:06 PM
@JohanLarsson Okay I'll try the sample above and see how it goes.
 
5:32 PM
@JohanLarsson as a follow on from yesterday, how can I clone the above sample instead of downloading the zip.
 
just copy the url and chose clone in git
I use git extensions. What do you use?
I don't know any command line.
 
@JohanLarsson I'm using the Team Explorer git plugin in Vs 13
 
ok I have never tried it so you have to google for how to do it
should be simple
Not sure you can clone from inside VS though
 
so what exactly is cloning then, just downloading the source to your computer?
 
it creates a local repository with a link to the original
that way you can pull changes if I was to push something to the github repo
 
5:39 PM
Okay cool, that's a good idea, I'm going to follow you on GitHub, some of your examples are helpful.
 
may sound like a silly question but how do I follow you?
 
Not sure, should be something to click close to my profile.
 
yeah found it
doing some maths revision atm, but I'll get back to you on my progress with the binding.
 
6:00 PM
binding is not super hard and def worth learning
 
6:13 PM
yeah I guess so, I'll let you know how I get on.
 
 
2 hours later…
8:04 PM
Is it possible to allow a textbox to bind to a decimal, which should be entered as 0,00 AND 0.00? Can I convert the one automatically to the other when the user enters the wrong sign? (e.g. 0,00 is converted for the user to 0.00 in the UI)
 
8:56 PM
Hi
 
9:18 PM
can anybody advise a good tcp socket programming tutorial or sample for both sending and receiving data?
 
9:32 PM
@BenjaminDiele One way is probably to handle the textinput event.
 

« first day (1569 days earlier)      last day (3378 days later) »