Search found 1556 matches

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

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: 23814

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: 4074

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: 4074

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: 1173

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...
by BruceSteers
Thursday 20th October 2022 4:48pm
Forum: General
Topic: Inserting a table in a tabel cell
Replies: 9
Views: 1173

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 ...
by BruceSteers
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
by BruceSteers
Thursday 20th October 2022 2:22pm
Forum: General
Topic: Inserting a table in a tabel cell
Replies: 9
Views: 1173

Re: Inserting a table in a tabel cell

Yes i think a gridview and each cell is more a drawn area in one big outer container and not a bunch of smaller containers that objects can be added to.
by BruceSteers
Thursday 20th October 2022 1:18pm
Forum: General
Topic: [Solved for now] How to get the height of the title of a tableview
Replies: 3
Views: 575

Re: How to get the height of the title of a tableview

Maybe

TableView1.Columns.Height
by BruceSteers
Thursday 20th October 2022 1:47am
Forum: General
Topic: [Solved] Linux Workspace 2-4
Replies: 26
Views: 4074

Re: Linux Workspace 2-4

I believe you can use Form.Move() The workspaces are calculated as one big desktop. So to open the form at x ,y position 100, 100 on a workspace to the right of the main screen do this... MyForm.Move(Screen.Width + 100, 100) MyForm.Show Darn my apologies, that does not seem to work :( I read this r...