Search found 190 matches

by bill-lancaster
Thursday 21st March 2024 1:19pm
Forum: General
Topic: How to combine two images
Replies: 5
Views: 254

Re: How to combine two images

and Paint.DrawImage(hImageCircle, 0, 0, 112, 112)
works just fine.
Thanks again
by bill-lancaster
Thursday 21st March 2024 12:20pm
Forum: General
Topic: How to combine two images
Replies: 5
Views: 254

Re: How to combine two images

Thanks Bruce, by 'merge' I mean the overlaying one image over the other.
by bill-lancaster
Thursday 21st March 2024 11:58am
Forum: General
Topic: How to combine two images
Replies: 5
Views: 254

Re: How to combine two images

This does it! For x = 0 To hImageSquare.W - 1 For y = 0 To hImageSquare.H - 1 If hImageSquare[x, y] <> -16777216 Then hImageNew[x, y] = hImageSquare[x, y] If hImageCircle[x, y] <> -16777216 Then hImageNew[x, y] = hImageCircle[x, y] Next Next The value 16777216 is the colour of the background. 167772...
by bill-lancaster
Thursday 21st March 2024 9:48am
Forum: General
Topic: How to combine two images
Replies: 5
Views: 254

How to combine two images

I have two images, square.png and circle.png, both the same size and are black & white.
How can I merge them so that that are both shown in a new image?
by bill-lancaster
Tuesday 30th January 2024 8:19am
Forum: The Gambas IDE
Topic: Can't Configue Executable
Replies: 6
Views: 1962

Re: Can't Configue Executable

Drag'n'Drop! I didn't realise that!
Thanks again
by bill-lancaster
Sunday 28th January 2024 12:25pm
Forum: The Gambas IDE
Topic: Can't Configue Executable
Replies: 6
Views: 1962

Re: Can't Configue Executable

Thanks Bruce, couldn't find that short cut anywhere.
The "Configure" option brings up the facility you mentioned but it seems to read-only.
My version is 3.18.4
by bill-lancaster
Sunday 28th January 2024 9:49am
Forum: The Gambas IDE
Topic: Can't Configue Executable
Replies: 6
Views: 1962

Can't Configue Executable

I've done something to my IDE and can't see the menu bar that had 'configure execxutable' and several more functions.
Please see attached.
Any help appreciated.
by bill-lancaster
Saturday 27th January 2024 1:37pm
Forum: General
Topic: Gambas executable entry value
Replies: 8
Views: 1332

Re: Gambas executable entry value

Thanks again Bruce, Exec ["gbr3", "GambasFolder/Executable/DocsViewer.gambas"] With ["sTemp=XXX"] opens "DocsViewer" OK but there is only one args.count. Shell "gbr3 ~/GambasFolder/Executable/DocsViewer.gambas sTemp=XXXX'" works fine, args.count = 2....
by bill-lancaster
Saturday 27th January 2024 9:42am
Forum: General
Topic: Gambas executable entry value
Replies: 8
Views: 1332

Re: Gambas executable entry value

Thanks Bruce, Having trouble with syntax, Print Exist(User.Home &/ "GambasFolder/Executable/Golf.gambas") Exec ["gambas3", "GambasFolder/Executable/Golf.gambas"] The first line confirms that the file exists. The second line produces an error:- "Cannot open a bi...
by bill-lancaster
Friday 26th January 2024 9:51am
Forum: General
Topic: Gambas executable entry value
Replies: 8
Views: 1332

Gambas executable entry value

I run a gambas executable from another gambas project by:-

Code: Select all

Exec ["/home/bill/GambasFolder/Executable/DocsViewer.gambas"]
How can I provide an entry value (a file name) to DocsViewer.gambas?