Search found 1561 matches

by BruceSteers
Sunday 23rd October 2022 4:30pm
Forum: General
Topic: [Solved] Linux Workspace 2-4
Replies: 26
Views: 4221

Re: Linux Workspace 2-4

fixed following on gnome/cinnamon/kde with this.. Public Sub ShiftWorkSpace((Direction) As Integer, Optional Follow As Boolean) Dim xw As DesktopWindow = New DesktopWindow(Me.Handle) Select Direction Case Move_Right If Desktop.Type = "MATE" Then xw.Move(Screen.Width + Me.X, Me.Top) Else xw...
by BruceSteers
Sunday 23rd October 2022 12:47pm
Forum: General
Topic: [Solved] Linux Workspace 2-4
Replies: 26
Views: 4221

Re: Linux Workspace 2-4

I tested this on other desktops like gnome and cinnamon and find it does not really work on anything except MATE desktop. :( this was because i found setting the X11.DesktopWindow.Desktop property did not make the window switch workspace ,, on MATE , but turns out it does on gnome and cinnamon. So i...
by BruceSteers
Sunday 23rd October 2022 12:02pm
Forum: General
Topic: [Solved] Linux Workspace 2-4
Replies: 26
Views: 4221

Re: Linux Workspace 2-4

This has been interesting. I made a class file.. It's in my project .src called Form.class EDITED: ' Gambas class file ' with file name Form.class in your .src folder this adds workspace shifting to ALL Forms ' Requires gb.desktop.x11 Create Static Export Public Enum Move_Left, Move_Right, Move_Up, ...
by BruceSteers
Saturday 22nd October 2022 9:36pm
Forum: Beginners
Topic: icon inside a gridview cell
Replies: 4
Views: 3697

Re: icon inside a gridview cell


GridView1[0, 0].Picture = Picture["/my/pic.png"].Image.Stretch(64, 64).Picture

' resize grid cell to fit picture
GridView1.Rows[0].Height = -1
GridView1.Columns[0].Width = -1

by BruceSteers
Saturday 22nd October 2022 7:04pm
Forum: Beginners
Topic: icon inside a gridview cell
Replies: 4
Views: 3697

Re: icon inside a gridview cell

Sure...
GridView1[0,0].Picture = Picture["/my/pic.png"]
http://gambaswiki.org/wiki/comp/gb.qt4/ ... ll/picture
by BruceSteers
Friday 21st October 2022 11:55pm
Forum: General
Topic: JSON files
Replies: 24
Views: 24199

Re: JSON files

Did you include the "<a href=" parts by mistake? url strings were added to the URL by the forum and should not be there (Charlie forgot to select the "Do not automatically parse URLs" option) this is not right... myhttp.URL = "<a href="https://poloniex.com/public?comman...
by BruceSteers
Friday 21st October 2022 9:53pm
Forum: General
Topic: [Solved] Linux Workspace 2-4
Replies: 26
Views: 4221

Re: Linux Workspace 2-4

Also this works... (also needs gb.desktop.x11) Public Sub btnMoveWindowToRightWorkspace_Click() Form2.Show Dim dw As DesktopWindow = New DesktopWindow(Form2.Id) if Desktop.Type = "MATE" Then dw.Move(Screen.W + Form2.X, Form2.Top) Else dw.Desktop +=1 End and note. this will most definitely ...
by BruceSteers
Friday 21st October 2022 9:40pm
Forum: General
Topic: [Solved] Linux Workspace 2-4
Replies: 26
Views: 4221

Re: Linux Workspace 2-4

I found a way that works... this way moves the current active window to workspace to the right of the current one. X11.MoveWindow(X11.ActiveWindow, Screen.W + 100, Me.Top) Or this for a specific window... Public Sub btn2_Click() Form2.Show Dim iActiv As Integer = X11.ActiveWindow ' for some reason i...
by BruceSteers
Friday 21st October 2022 1:38pm
Forum: General
Topic: Inserting a table in a tabel cell
Replies: 9
Views: 1188

Re: Inserting a table in a tabel cell

I think you should veer away from the initial object being a TableView Attached is a simple example of using a scrollview and manually adding panels. I just added a TableView and a VBox with a delete button in it. But you are free to add whatever you like as normal to each newly added panel. no Tabl...