Search found 518 matches

by stevedee
Friday 7th May 2021 2:06pm
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 5407

Re: How can I display Rich Text in a TextLabel

Hi. I was planning to use a TextLabel control to display information in Rich Text format... Not sure which bit you are having a problem with, but this works:- Public Sub Form_Open() With TextLabel1 .width = 300 .height = 200 .text = "<p> <b> Welcome </b> </p> <p> There should be a way to displ...
by stevedee
Wednesday 5th May 2021 8:20am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 11691

Re: Function Rotate(Angle As Float) As Image

...I did notice that the image is a bit fuzzy as compared to the original image... so I think I will stick to the animation trick of making a series of images... ...Give Inkscape a try for graphic generation... Jerry, you may be interested in a recent post & example by Doctor Watson about fuzzy...
by stevedee
Tuesday 4th May 2021 6:41am
Forum: General
Topic: The benefits of using vector graphics - revisited
Replies: 1
Views: 2261

Re: The benefits of using vector graphics - revisited

...I have used the good old Union-Jack. No, I‘m not a subject of her Majesty, but the Union Jack has something in abundance that makes ‘stretching’ (‘resizing’, ‘scaling’, …) other types of graphics hell: oblique lines... Thanks for your nice, clean, code example Doc ...and good to see that the Uni...
by stevedee
Monday 3rd May 2021 3:10pm
Forum: General
Topic: gb.desktop.x11
Replies: 15
Views: 9418

Re: gb.desktop.x11

cogier wrote: Monday 3rd May 2021 10:51am Can you try adding the component gb.desktop.x11 to a program and see if you get the following error...
Yep, I get the same error on both Peppermint 9 and 10 machines with Gambas v3.16.0 "build 14".
by stevedee
Sunday 2nd May 2021 6:46am
Forum: General
Topic: Socket Commication Help
Replies: 4
Views: 3417

Re: Socket Commication Help

...I am trying to talk to another program of mine via Socket... Take a look at my post: http://captainbodgit.blogspot.com/2016/08/using-sockets-with-gambas.html which will walk you through the process. Your logic is wrong with this line:- If ClientConnection.Status = Net.Inactive Then ...as clearly...
by stevedee
Thursday 29th April 2021 6:41am
Forum: Lounge
Topic: What's happening with v3.16.0 updates?
Replies: 13
Views: 13352

Re: What's happening with v3.16.0 updates?

sjsepan wrote: Wednesday 28th April 2021 12:08pm I ran today's update... and all was well.
Many thanks Steve S
by stevedee
Thursday 29th April 2021 6:34am
Forum: Web
Topic: How to show image in WebImage on Gambas3
Replies: 7
Views: 11926

Re: How to show image in WebImage on Gambas3

...I've not been coding much so nothing to show but still here and there helping where I can... Me too... ...and when I'm allowed to play by "The Boss" I'm currently spending 95% of any play-time trying to 'tame' my 3D printer! I also know nothing about this component, and when you look a...
by stevedee
Wednesday 28th April 2021 7:06am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 11691

Re: Function Rotate(Angle As Float) As Image

...I get the theory... but still not quite sure how to implement it. ... I guess it will depend on what you want the final image to look like, so having a number of pre-made images could be your best approach. But since you wanted to try .Rotate here are a few more of my 'breakfast scratchings' Pro...
by stevedee
Tuesday 27th April 2021 5:46pm
Forum: Beginners
Topic: Debugging: Stop program if variable = value ?
Replies: 9
Views: 21386

Re: Debugging: Stop program if variable = value ?

...VB is able to change values in debug mode - but Gambas? How would you do this? Pause execution using a line breakpoint, then double click on the variable's value in the Local variable list and type the new value. GambasChangeVar.png Yes, VB6 was great for debugging; you could pause execution, dr...
by stevedee
Tuesday 27th April 2021 4:46pm
Forum: Beginners
Topic: Debugging: Stop program if variable = value ?
Replies: 9
Views: 21386

Re: Debugging: Stop program if variable = value ?

I suppose a if x=0 then stop will do the trick. Yes, that's the kind of workaround I would use, but I'm beginning to suspect there are existing features (which are pretty standard in other languages IDEs) that I either don't know how to enable or maybe they are broken. For example there is both an ...