Wish I can select a section of IDE code writing area
and colour the background differently.
(E.g. red for code that needs fixing. Green for working code etc.
The idea is to dart back and forth around the code quickly.)
Can live with '#red# as the starter marker
and '## as the end marker for
After setting the sort option (TableView1.Sorted = True) does a click on a
column change the state of TableView1.Columns.Sort or do I need to change it
myself?
--
View this message in context:
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863.html
Sent from the gambas-user
Hello Martin:
Here you have a small program that does (list project information, directory
tree and files, list the classes, modules and forms), creating a text file
(.txt)
http://jsbsan.blogspot.com.es/2014/12/listar-el-codigo-fuente-de-un-proyecto.html
Regards
Jsbsan
2014-12-22 14:28
A column-click changes the state of TableView.Columns.Sort.
But that value appears to be one click behind which the following code shows:
Public Sub TableView1_ColumnClick(Column As Integer)
Print Column, TableView1.Columns.Sort
End
Lee
__
Artificial Intelligence is no match for
Thanks for that Lee,
Please see the attached example. The result of the column_click event does
not agree with the results of button1_click which reports on the state of
.Ascending. In fact after two column_clicks there is no change of state
with the Ascending property with the column_click
This code:
Public Sub TableView1_ColumnClick(Column As Integer)
TextBox1.Text = column = Column sort =
If TableView1.Columns.Sort Then
TextBox1.Text = Asc
Else
TextBox1.Text = Desc
Endif
End
uses the wrong property.
TableView1.Columns.Sort
I have been testing a project of mine and found it to segfault on some
distros.
Tested conditions WITH NO SEGFAULT:
- Gambas 3.5.4 - LXDE 0.5.10 - Debian 7.7 Wheezy
- Gambas 3.5.4 - LXDE 0.6.1 - Fedora 20
- Gambas 3.5.4 - Xfce 4.10 - Linux Mint 13
- Gambas 3.6.2 - LXDE 0.5.8 - Lubuntu 12.04
-