Not a problem Bruce.
Peculiar behavior of gridview and mouse fully explored!
Bill
Search found 195 matches
- Wednesday 3rd April 2024 9:19am
- Forum: General
- Topic: Problem with menu in gridview
- Replies: 14
- Views: 1913
- Tuesday 2nd April 2024 1:27pm
- Forum: General
- Topic: Problem with menu in gridview
- Replies: 14
- Views: 1913
Re: Problem with menu in gridview
My centre button returns mouse.button=3 and Right click gives Mouse.Right=True.
- Tuesday 2nd April 2024 7:23am
- Forum: General
- Topic: Problem with menu in gridview
- Replies: 14
- Views: 1913
Re: Problem with menu in gridview
Thanks Bruce,
My right button gives mouse.button = 2!
My right button gives mouse.button = 2!
- Sunday 31st March 2024 9:38am
- Forum: General
- Topic: Problem with menu in gridview
- Replies: 14
- Views: 1913
Re: Problem with menu in gridview
That makes sense! I notice that the gridview.row 'selected' property changes after the right click. I need to refer to the selected row so have to do it in the menu event. Also the gridview_click event is only triggered when a row is left clicked. Right click is triggered anywhere in the grdiview ev...
- Saturday 30th March 2024 1:49pm
- Forum: General
- Topic: Problem with menu in gridview
- Replies: 14
- Views: 1913
Problem with menu in gridview
I've had this problem before https://forum.gambas.one/viewtopic.php?t=959&hilit=gridview+menu Now I want to show a popup menu in response to menu button click and some other function in response to left button click. The following code kind of works but two clicks of the menu button are required...
- Thursday 21st March 2024 1:19pm
- Forum: General
- Topic: How to combine two images
- Replies: 5
- Views: 2529
Re: How to combine two images
and Paint.DrawImage(hImageCircle, 0, 0, 112, 112)
works just fine.
Thanks again
works just fine.
Thanks again
- Thursday 21st March 2024 12:20pm
- Forum: General
- Topic: How to combine two images
- Replies: 5
- Views: 2529
Re: How to combine two images
Thanks Bruce, by 'merge' I mean the overlaying one image over the other.
- Thursday 21st March 2024 11:58am
- Forum: General
- Topic: How to combine two images
- Replies: 5
- Views: 2529
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...
- Thursday 21st March 2024 9:48am
- Forum: General
- Topic: How to combine two images
- Replies: 5
- Views: 2529
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?
How can I merge them so that that are both shown in a new image?
- Tuesday 30th January 2024 8:19am
- Forum: The Gambas IDE
- Topic: Can't Configue Executable
- Replies: 6
- Views: 3035
Re: Can't Configue Executable
Drag'n'Drop! I didn't realise that!
Thanks again
Thanks again