Bill, my message asking if it helped was delivered after yours due to the
mailing list issue.
Glad it helped :-) Thanks to Bruce for clearing that up.
Lee
__
"Artificial Intelligence is no match for natural stupidity."
On 12/25/2014 04:04 AM, bill-lancaster wrote:
> Bruno and Lee, tha
Bruno and Lee, thank you for the Christmas present!
Bill
--
View this message in context:
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49878.html
Sent from the gambas-user mailing list archive at Nabble.com.
---
On 12/24/2014 05:40 PM, B Bruen wrote:
> On Wed, 24 Dec 2014 11:57:11 -0500
> T Lee Davidson wrote:
>
>> Apparently I didn't take enough time, Bill.
>>
>> I only tested that the text of the TextBox changed appropriately for a
>> column_click, I did not test clicking Button1.
>>
>> You are right.
On Wed, 24 Dec 2014 11:57:11 -0500
T Lee Davidson wrote:
> Apparently I didn't take enough time, Bill.
>
> I only tested that the text of the TextBox changed appropriately for a
> column_click, I did not test clicking Button1.
>
> You are right. The value of TableView.Columns.Ascending within
Am Mittwoch, den 24.12.2014, 11:57 -0500 schrieb T Lee Davidson:
> Apparently I didn't take enough time, Bill.
>
> I only tested that the text of the TextBox changed appropriately for a
> column_click, I did not test clicking Button1.
>
> You are right. The value of TableView.Columns.Ascending w
Apparently I didn't take enough time, Bill.
I only tested that the text of the TextBox changed appropriately for a
column_click, I did not test clicking Button1.
You are right. The value of TableView.Columns.Ascending within the Column_Click event does not agree with the value outside of the Co
Thanks for taking the time Lee,
In fact I made that error when composing a simple example, my main programme
didn't have that error.
To make things simple for myself I toggle a boolean value every time the
gridview1_ColumnClick event occurs rather than use the Ascending value.
Thanks again
Bill
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.Colum
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 even
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 fo
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 mailin
11 matches
Mail list logo