Search found 62 matches

by vuott
Friday 15th January 2021 3:37pm
Forum: General
Topic: The new Gambas AppImage - can it run on Android?
Replies: 4
Views: 82

Re: The new Gambas AppImage - can it run on Android?

cogier wrote:
Monday 11th January 2021 4:29pm
The answer I saw in 2015 was:
https://lists.gambas-basic.org/pipermai ... 53346.html
by vuott
Thursday 14th January 2021 11:57pm
Forum: General
Topic: Draw in a picturebox
Replies: 6
Views: 86

Re: Draw in a picturebox

However, I would use a "DrawingArea": Private myPlayer As New MediaPlayer As "Player" '============================================================================= Public Sub Form_Open() '--- Opens a mediaplayer window with live video stream --- myPlayer.URL = "v4l2:///dev/video0" myPlayer.Play() F...
by vuott
Thursday 14th January 2021 11:27pm
Forum: General
Topic: Draw in a picturebox
Replies: 6
Views: 86

Re: Draw in a picturebox

In the "Public Sub Form_Open ()" routine also set this command line:
ThePictureBox.Background = Color.Transparent
by vuott
Wednesday 13th January 2021 9:13pm
Forum: General
Topic: Draw in a picturebox
Replies: 6
Views: 86

Re: Draw in a picturebox

Can you attach an essential sample code that produces that problem?
by vuott
Tuesday 12th January 2021 10:18pm
Forum: General
Topic: Draw in a picturebox
Replies: 6
Views: 86

Re: Draw in a picturebox

You could act on the "Image" Object (theImage variable), using the specific Methods of the " Paint " Class to draw lines.
by vuott
Thursday 07th January 2021 6:34pm
Forum: General
Topic: User Define Types
Replies: 10
Views: 125

Re: User Define Types

by vuott
Monday 07th December 2020 2:11pm
Forum: General
Topic: How can I play a .h264 video in a box?
Replies: 4
Views: 368

Re: How can I play a .h264 video in a box?

About the videos in my opinion you have to prefer and to use MediaView Object by activating gb.media and gb.media.form Components:

http://gambaswiki.org/wiki/comp/gb.media.form/mediaview
by vuott
Saturday 05th December 2020 10:12pm
Forum: General
Topic: Problem with gridview menu click
Replies: 6
Views: 465

Re: Problem with gridview menu click

bill-lancaster wrote:
Saturday 05th December 2020 12:02pm
How can I intercept just the right click?
Public Sub GridView1_MouseUp()

   If Mouse.Right Then
     GridView1[GridView1.Row, GridView1.Column].Text = "Right Click"
     GridView1.Columns[GridView1.Column].Width = -1
   Endif

End
by vuott
Saturday 05th December 2020 9:56pm
Forum: General
Topic: Problem with gridview menu click
Replies: 6
Views: 465

Re: Problem with gridview menu click

I suggest this simplex exemplum : Public Sub Form_Open() With GridView1 .Columns.Count = 10 .Rows.Count = 25 End With End Public Sub GridView1_MouseUp() Select Case Mouse.Button Case 1 GridView1[GridView1.Row, GridView1.Column].Text = "Left Click" Case 2 GridView1[GridView1.Row, GridView1.Column].Te...
by vuott
Tuesday 01st December 2020 5:42am
Forum: Component
Topic: Document View - How do you add documents?
Replies: 1
Views: 307

Re: Document View - How do you add documents?

...beginning with this simple code (you have to activate gb.poppler Component): Private DocumentView1 As DocumentView Private doc As PdfDocument Public Sub Form_Open() With Me .Height = Desktop.H .Width = Desktop.W .Arrangement = Arrange.Vertical End With doc = New PdfDocument("/path/of/document.pdf...