Search found 2057 matches
- Tuesday 25th March 2025 12:47pm
- Forum: General
- Topic: Label Control to JPEG
- Replies: 5
- Views: 1152
Re: Label Control to JPEG
I did not mention any ScreenShot methods as they are X11 methods only and will not work on wayland. So just a note: If you use a wayland system you will find you cannot Screenshot areas of the screen like we can in x11. wayland will only ever pop open the desktops screenshot dialog (like pressing Pr...
- Tuesday 25th March 2025 12:15pm
- Forum: Beginners
- Topic: Tableview edit cell
- Replies: 11
- Views: 3238
Re: Tableview edit cell
Thanks, but is also not working, i can't see any editorbox or textbox. Make a sample project showing the problem Andreas and post it here. 1 of 2 things happen when you do that.... Either you find you cannot reproduce the problem in your example program and it helps you find where your main program...
- Tuesday 25th March 2025 12:04pm
- Forum: General
- Topic: gb.db2 Order by
- Replies: 41
- Views: 19803
Re: gb.db2 Order by
Have a look here, it has already been fixed. https://lists.gambas-basic.org/archive/bugtracker/2025-03/0000064.html That was quick. I am impressed. :D Welcome to the cutting edge of gambas where any problems you find get fixed quickly :) Thanks to Benoit for fixing and thanks to you for reporting, ...
- Sunday 23rd March 2025 3:51pm
- Forum: Beginners
- Topic: Tableview edit cell
- Replies: 11
- Views: 3238
Re: Tableview edit cell
I think we will need an example project.
seems to work as expected here so we need to figure out why it's not for you.
Does the Textbox to edit the fields actually appear?
I suspect editing is somehow broken as you say "nothing happens"
seems to work as expected here so we need to figure out why it's not for you.
Does the Textbox to edit the fields actually appear?
I suspect editing is somehow broken as you say "nothing happens"
- Sunday 23rd March 2025 3:41pm
- Forum: Beginners
- Topic: Tableview edit cell
- Replies: 11
- Views: 3238
Re: Tableview edit cell
Try this to test it's actually using a textbox...
it should print something like..
Form1.TableView1_Click.47: (TextBox 0x565b829f8028)
Maybe its not using a textbox as it also can use combobox?
TableView1.Edit
Debug TableView1.Editor
it should print something like..
Form1.TableView1_Click.47: (TextBox 0x565b829f8028)
Maybe its not using a textbox as it also can use combobox?
- Sunday 23rd March 2025 3:35pm
- Forum: Beginners
- Topic: Tableview edit cell
- Replies: 11
- Views: 3238
Re: Tableview edit cell
i just updated to latest gambas and tried this code...
Works as expected, text is selected.
I'm not sure why it is not working for you.
Public Sub TableView1_Click()
Dim tb As TextBox
If TableView1.Column = 0 Then
TableView1.Edit
tb = TableView1.Editor
tb.SelectAll
Endif
End
Works as expected, text is selected.
I'm not sure why it is not working for you.
- Sunday 23rd March 2025 3:13pm
- Forum: Beginners
- Topic: Tableview edit cell
- Replies: 11
- Views: 3238
Re: Tableview edit cell
I get Tableview.editor is read only. Aah yes sorry i confused it with EditWith method. TableView.Editor is for getting the control used with TableView.EditWith() TableView.Edit Maybe whoever wrote that example can explain what it's doing. I'm guessing it's using TableView default editor that is pro...
- Sunday 23rd March 2025 2:52pm
- Forum: Beginners
- Topic: Tableview edit cell
- Replies: 11
- Views: 3238
Re: Tableview edit cell
But TextBox1 is not created
You must create it.
And TextBox1 = TableView1.Editor seems backwards
it should be
TableView1.Editor = TextBox1
You must create it.
Dim TextBox1 As Textbox
TextBox1 = New TextBox(Me)
TextBox1.Visible = False
And TextBox1 = TableView1.Editor seems backwards
it should be
TableView1.Editor = TextBox1
- Sunday 23rd March 2025 1:47pm
- Forum: General
- Topic: Label Control to JPEG
- Replies: 5
- Views: 1152
Re: Label Control to JPEG
You could just make a picture of the text. '' Convert label into a picture, '' use TextSize boolean to make the picture be the size of the text or the picture is a copy of the label as seen Public Sub Label2Picture(hLabel As Label, Optional TextSize As Boolean) As Picture Dim hPic As Picture ' size ...
- Sunday 23rd March 2025 12:02pm
- Forum: General
- Topic: GridView Row Merge
- Replies: 2
- Views: 308
Re: GridView Row Merge
if you set a gridview columns width to -1 it will auto expand/shrink to fully show the text.
GridView1.Columns[2].Width = -1
GridView1.Columns[2].Width = -1