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 Column_Click event. I do not understand this behavior.
So I'd say that either there is something missing in the documentation, or this is a bug. I have attached a modified version of your sample that shows this anomaly more clearly.
Can anyone else shed some light on this? Lee __________ "Artificial Intelligence is no match for natural stupidity." On 12/24/2014 04:51 AM, bill-lancaster wrote:
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
TableviewExample-0.0.1.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user