Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CellEditor Enter don't change the Cell value

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
salomo



Joined: 05 Apr 2005
Posts: 13
Location: Potsdam (Germany)

PostPosted: Fri Apr 08, 2005 10:15 am    Post subject: CellEditor Enter don't change the Cell value Reply with quote

If I use the UniversalEditorBox as CellEditor and change the value of a cell and press than enter the editmode ends, but the cell value are not refreshed. Also SetCellValue event will not fired. Not until a other row are selected the change will be visible and applied. How can I make the change immediately after pressing Enter in the editbox.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Apr 12, 2005 11:08 pm    Post subject: Reply with quote

This appears to be a bug related to validation in the UniversalEditBox which we will fix ASAP. You can work around it however.

If you are using the UniversalEditBox to edit enums etc (ie drop down selection) then set the UpdateValueEvent for the CellEditor (from the VirtualTree designer) to be the ValueChanged event instead of the ValidatedEvent.

If you are using it to edit text then change to use a normal TextBox as the editor.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
salomo



Joined: 05 Apr 2005
Posts: 13
Location: Potsdam (Germany)

PostPosted: Wed Apr 13, 2005 1:39 pm    Post subject: Reply with quote

OK, I will use a TextBox.

Some other question.
When add a custom ConetxtMenu to the ColumnHeader, how can I find the Column under the mouse where I have right clicked?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Apr 13, 2005 10:49 pm    Post subject: Reply with quote

The ContextMenuColumn property on VirtualTree gives you the column that the context menu was displayed for.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Apr 21, 2005 3:35 am    Post subject: Reply with quote

The issue with the Enter key not causing values to be updated when using the UniversalEditBox as an editor has now been fixed in the latest release (1.4.1)
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group