Search found 1559 matches
- Sunday 23rd October 2022 12:47pm
- Forum: General
- Topic: [Solved] Linux Workspace 2-4
- Replies: 26
- Views: 4139
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...
- Sunday 23rd October 2022 12:02pm
- Forum: General
- Topic: [Solved] Linux Workspace 2-4
- Replies: 26
- Views: 4139
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, ...
- Saturday 22nd October 2022 9:36pm
- Forum: Beginners
- Topic: icon inside a gridview cell
- Replies: 4
- Views: 3690
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
- Saturday 22nd October 2022 7:04pm
- Forum: Beginners
- Topic: icon inside a gridview cell
- Replies: 4
- Views: 3690
Re: icon inside a gridview cell
Sure...
GridView1[0,0].Picture = Picture["/my/pic.png"]
http://gambaswiki.org/wiki/comp/gb.qt4/ ... ll/picture- Friday 21st October 2022 11:55pm
- Forum: General
- Topic: JSON files
- Replies: 24
- Views: 23966
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...
- Friday 21st October 2022 9:53pm
- Forum: General
- Topic: [Solved] Linux Workspace 2-4
- Replies: 26
- Views: 4139
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 ...
- Friday 21st October 2022 9:40pm
- Forum: General
- Topic: [Solved] Linux Workspace 2-4
- Replies: 26
- Views: 4139
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...
- Friday 21st October 2022 1:38pm
- Forum: General
- Topic: Inserting a table in a tabel cell
- Replies: 9
- Views: 1180
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...
- Thursday 20th October 2022 4:48pm
- Forum: General
- Topic: Inserting a table in a tabel cell
- Replies: 9
- Views: 1180
Re: Inserting a table in a tabel cell
same thing happens with a table view as well Yes a TableView inherits GridView https://gitlab.com/gambas/gambas/-/blob/master/comp/src/gb.form/.src/TableView.class it's essentially just a GridView with added cell editing abilities so apart from the editing it behaves exactly the same as a GridView ...
- Thursday 20th October 2022 3:19pm
- Forum: General
- Topic: [Solved for now] How to get the height of the title of a tableview
- Replies: 3
- Views: 575
Re: [Solved for now] How to get the height of the title of a tableview
i think it's the correct thing you asked for, the height of the header.
I probably should not have led with "Maybe" in the last post
http://gambaswiki.org/wiki/comp/gb.qt4/ ... mns/height
I probably should not have led with "Maybe" in the last post
http://gambaswiki.org/wiki/comp/gb.qt4/ ... mns/height