Search found 12 matches
- Friday 19th April 2024 6:06pm
- Forum: Component
- Topic: Change column width in a DataView not working [solved]
- Replies: 2
- Views: 2237
Re: Change column width in a DataView not working
Tired yesterday when writing on the forum. Missed the .width. I have tested DataView1.View.Columns[0].width=50, DataView1.GridView.Columns[0].width = 50, DataView.View.Column[0]=50 and many others with no luck. Today I restarted the computer and Gambas. Did a sudo apt update/upgrade. Tested DataView...
- Thursday 18th April 2024 7:35pm
- Forum: Component
- Topic: Change column width in a DataView not working [solved]
- Replies: 2
- Views: 2237
Change column width in a DataView not working [solved]
I have a DataSource with a DataView inside. I try to change the column width with DataView1.View.Columns[1] = 50 but recieves error "Not a field" (translated from swedish). Code below: 'Module1 Public $MyConn As New Connection Public Procedure Connect() $MyConn.Close() $MyConn.Type = "...
- Monday 20th November 2023 8:41pm
- Forum: General
- Topic: DrawingArea.Refresh erases the DrawingArea
- Replies: 8
- Views: 8540
Re: DrawingArea.Refresh erases the DrawingArea
I tested to do an array and draw the whole drawingarea yesterday and it worked. Now it's just to scale it up, move to the Raspberry pi and test if it lags or not. Have a pi 3B+. If it isn't fast enough I can always buy a pi 5. Vuott, thank's for the link to the example with the pixel manipulation of...
- Sunday 19th November 2023 9:59pm
- Forum: General
- Topic: DrawingArea.Refresh erases the DrawingArea
- Replies: 8
- Views: 8540
Re: DrawingArea.Refresh erases the DrawingArea
Thanks a lot for the answer, Bruce. This is for monitoring CNC-machines and their performance. 8 machines, 17 hours a day with an check-interval of 15 seconds then I will have to draw up to 32640 lines every 15 seconds at the end of the day. I wonder how fast gambas is on a pi? Ok, back to the drawi...
- Sunday 19th November 2023 8:04pm
- Forum: General
- Topic: DrawingArea.Refresh erases the DrawingArea
- Replies: 8
- Views: 8540
DrawingArea.Refresh erases the DrawingArea
This is what I'm trying to achive: I have a drawingarea 900 pixels wide (and 20 pixels high) and a timer that triggers every 5 seconds. Every time the timer trigger it checks the status of three radiobuttons and make a vertical line in the drawingarea with grey, red or green color depending on which...
- Sunday 10th October 2021 6:54pm
- Forum: General
- Topic: Desktop.windows give only active window [solved]
- Replies: 5
- Views: 3626
Re: Desktop.windows give only active window [solved]
And your example was really cool, Cogier.
Will see if I can use it together with the mediaplayer window.
Will see if I can use it together with the mediaplayer window.
- Sunday 10th October 2021 6:47pm
- Forum: General
- Topic: Desktop.windows give only active window [solved]
- Replies: 5
- Views: 3626
Re: Desktop.windows give only active window
Thank's a lot BruceSteers and Cogier for your answers.
I took a new computer, made a fresh Linux Mint 20.2 and a Gambas ppa:-install and now it works like a charm. I don't know what's wrong with the old computer but it's obviously local to that computer.
Have a nice day everyone!
I took a new computer, made a fresh Linux Mint 20.2 and a Gambas ppa:-install and now it works like a charm. I don't know what's wrong with the old computer but it's obviously local to that computer.
Have a nice day everyone!
- Thursday 7th October 2021 5:43pm
- Forum: General
- Topic: Desktop.windows give only active window [solved]
- Replies: 5
- Views: 3626
Desktop.windows give only active window [solved]
I'm trying to align a transparent window on top of another window (a mediaplayer window) and therefore it would be very helpful to get the X and Y coordinates for both windows. I found a code example in the Gambas Book (gambas-buch.de) chapter 15.4 which does exactly what I want. Public Sub Button1_...
- Saturday 16th January 2021 3:05pm
- Forum: General
- Topic: Draw in a picturebox [solved]
- Replies: 8
- Views: 6743
Re: Draw in a picturebox
Your the man Vuott. Works like a charm!
- Thursday 14th January 2021 6:36pm
- Forum: General
- Topic: Draw in a picturebox [solved]
- Replies: 8
- Views: 6743
Re: Draw in a picturebox
Here comes a sample code: 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....