Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl - How to Cancel EditMode? And other Problem
Re: ArrayCtrl - How to Cancel EditMode? And other Problem [message #14088 is a reply to message #14061] Sun, 10 February 2008 16:10 Go to previous messageGo to previous message
loki is currently offline  loki
Messages: 36
Registered: October 2007
Member
Ok. Seems as if my english is very poor Confused Sorry

Question 1: How can I cancel lineedit in WhenStartEdit ?

Question 2: Why is selection with LMB and resizing of the tabs ignored when SetEditable is set to false? It seems to me that here is something wrong, because I can select a line with RMB and I can resize the tabs in the HeaderObject. Also the mouseimage changes to indicate sizing of the tab.

I think that here are too many tests to "IsReadOnly()".
These tests should be removed from all input-functions and should only be used in functions which create or manipulate something.
StartEdit and DoInsert are candidates.

In my actual program I need to be able to switch between editable and not-editable state. But in both states the user must be able to select a line, because each line contains extra data which is displayed in an extra Ctrl.

Here is a testcase and a modified version of ArrayCtrl.cpp

greetings
loki

[Updated on: Sun, 10 February 2008 18:26]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Copy from GridCtrl to Excel
Next Topic: Problems with ArrayCtrl, GridCtrl in my app
Goto Forum:
  


Current Time: Mon May 20 13:53:53 CEST 2024

Total time taken to generate the page: 0.01267 seconds