Tableview edit cell

New to Gambas? Post your questions here. No question is too silly or too simple.
Andreas_K
Newbie
Posts: 20
Joined: Wed Sep 13, 2023 6:04 pm
Location: Italy - South Tyrol

Re: Tableview edit cell

Post by Andreas_K »

Thanks, but is also not working, i can't see any editorbox or textbox.
BruceSteers
Legend
Posts: 2081
Joined: Thu Jul 23, 2020 5:20 pm
Location: Isle of Wight

Re: Tableview edit cell

Post by BruceSteers »

Andreas_K wrote: Mon Mar 24, 2025 5:30 pm 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 is going wrong.

Or you CAN reproduce the problem and WE can then help you find the error :)

But without seeing your code we cannot guess as to why your editor (textbox) does not show.

Also are you using X11 or wayland?
Andreas_K
Newbie
Posts: 20
Joined: Wed Sep 13, 2023 6:04 pm
Location: Italy - South Tyrol

Re: Tableview edit cell

Post by Andreas_K »

Thanks everyone! With your tips i found it.

      .[irow, 5].Foreground = &H2727A0
      .[irow, 6].Text = GridPesticide[GridPesticide.Row, 6].Text
      .[irow, 7].Foreground = &HC0176B
      .[irow, 7].Text = GridPesticide[GridPesticide.Row, 7].Text
      .[irow, 7].tag = bBad
      .[irow, 8].Text = GridPesticide[GridPesticide.Row, 9].Text
      .[irow, 8].tag = GridPesticide[GridPesticide.Row, 10].Text
      .Rows[irow].Height = 24   '<--------- 
   End With


Since the update the row.height on the insertet row cannot be lower than 25, otherwise this error occur, also with higher values the text in the editorbox isnot readable. Can anyone reproduce this also? I use Ubuntu 24.10 with wayland.
Post Reply