Search found 19 matches

by barryem
Sun Jun 26, 2016 2:35 pm
Forum: Coding Questions
Topic: Canvas vs Image
Replies: 10
Views: 2371

Re: Canvas vs Image

Thank you!

Barry
by barryem
Sat Jun 25, 2016 7:35 pm
Forum: Coding Questions
Topic: Canvas vs Image
Replies: 10
Views: 2371

Re: Canvas vs Image

I'm playing with doing things on imagegadgets and canvasgadgets and I don't see any obvious way to copy an image to a canvas. Is there a way to do that?

Thanks,
Barry
by barryem
Mon Jun 20, 2016 2:52 am
Forum: Coding Questions
Topic: Canvas vs Image
Replies: 10
Views: 2371

Re: Canvas vs Image

I had no idea about the vector drawing library. Thanks for calling my attention to it. I just might have some fun with that. :)

Barry
by barryem
Sun Jun 19, 2016 10:10 pm
Forum: Coding Questions
Topic: Canvas vs Image
Replies: 10
Views: 2371

Re: Canvas vs Image

Thank you! That helps a lot.

Barry
by barryem
Sun Jun 19, 2016 9:46 pm
Forum: Coding Questions
Topic: Canvas vs Image
Replies: 10
Views: 2371

Canvas vs Image

I'm a little confused about when to use an Image gadget and when to use a Canvas gadget. Could someone discuss their differences a bit? And the different ways they might be used? For example, I'm making a little drawing program as a way to learn a bit about graphics in PB and I'm using a canvas for ...
by barryem
Thu Jun 16, 2016 1:34 am
Forum: Assembly and C Programming in PureBasic
Topic: How easy is to draw Sprites on Screen in Asm?
Replies: 5
Views: 12394

Re: How easy is to draw Sprites on Screen in Asm?

If you already know how to program in asm then ignore this but if you don't and you're thinking of learning it keep in mind that learning asm in a GUI environment is doing it the hard way. Much better to learn it in an MS-DOS emulator using some of the old, now freeware tools. Then when you feel fai...
by barryem
Tue Jun 14, 2016 10:40 pm
Forum: Coding Questions
Topic: Spin gadget retains focus and is selected after value change
Replies: 6
Views: 1530

Re: Spin gadget retains focus and is selected after value ch

Both examples do just what I hoped for. I think I'll use the second one because it seems a little cleaner.

Thanks,

Barry
by barryem
Tue Jun 14, 2016 8:45 pm
Forum: Coding Questions
Topic: Spin gadget retains focus and is selected after value change
Replies: 6
Views: 1530

Spin gadget retains focus and is selected after value change

With the spin gadget set to #PB_Spin_ReadOnly I would expect that when the number is changed using an arrow button the spin control wouldn't retain focus and show reverse text as being selected but it does. Is there a way to prevent that? Here's the sample code from the help file with #PB_Spin_ReadO...
by barryem
Mon Jun 13, 2016 4:02 am
Forum: Coding Questions
Topic: Using examples with changed functions
Replies: 2
Views: 1361

Re: Using examples with changed functions

Thanks. I'll play with your suggestions and see what happens. I don't really have code to post at the moment. I'm not writing anything, just trying to figure out how all this works. I'm pretty confused and i'm usually unclear on just what parts are confusing me. I'll keep playing with it and post mo...
by barryem
Mon Jun 13, 2016 2:22 am
Forum: Coding Questions
Topic: Using examples with changed functions
Replies: 2
Views: 1361

Using examples with changed functions

I'm trying to learn a bit about images and graphics using examples from the forum and some other sources and I keep running into things that no longer seem to work. My current problem is with the useimage() function which appears in a lot of the posted code. Is there any documentation showing how to...
by barryem
Thu May 21, 2015 11:10 pm
Forum: The PureBasic Form Designer
Topic: Tutorial: events handling with the Form Designer
Replies: 20
Views: 87051

Re: Help: Events handling with the Form Designer

I never thought you were condescending. You answered my questions and then some. You have no way to know my experience level and in fact with GUI programming it's fairly low. I did know about a few of the things you described but even those explanations were clarifying. You explained things I didn't...
by barryem
Wed May 20, 2015 10:34 pm
Forum: The PureBasic Form Designer
Topic: Tutorial: events handling with the Form Designer
Replies: 20
Views: 87051

Re: Help: Events handling with the Form Designer

Wow! Thank you! I was hoping for a simple example so I could figure out how to organize it and how to make the variables visible between the two files. You gave me a full tutorial that you obviously put some time and thought into and I thank you. That really jumpstarted me. :) They ought to include ...
by barryem
Tue May 19, 2015 10:44 pm
Forum: The PureBasic Form Designer
Topic: Help: Events handling with the Form Designer
Replies: 19
Views: 34445

Re: Help: Events handling with the Form Designer

Thanks for explaining. I did read up on BindEvent and kind of understood that. I'm coming from PowerBasic and this is all kind of different. I think the problem is that I really don't understand the program flow in Purebasic yet. I'll keep reading and trying to understand it. What I've been trying t...
by barryem
Tue May 19, 2015 12:47 am
Forum: The PureBasic Form Designer
Topic: Help: Events handling with the Form Designer
Replies: 19
Views: 34445

Re: Help: Events handling with the Form Designer

Could someone please tell us new users where to look for updated informaton? I've just been reading this page and fighting to make it work and when I get to the bottom it tells me it's no longer appropriate. That information might be better at the top if that's possible and maybe it could include so...
by barryem
Fri Feb 07, 2014 9:39 pm
Forum: The PureBasic Form Designer
Topic: Form Designer - Switch Code/Design View - How to automate?
Replies: 9
Views: 7442

Form Designer - Switch Code/Design View - How to automate?

I've tried adding an icon to the toolbar and even though there's an option to add this I can't make it work. I've also tried setting a shortcut key but I haven't been able to make that work either. Not only does the shortcut or the Icon not switch the view, it never shows up properly on either the t...