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 

TextBox in Cell

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



Joined: 23 Aug 2007
Posts: 5

PostPosted: Thu Aug 23, 2007 11:47 am    Post subject: TextBox in Cell Reply with quote

Hi
I am using trial version.
I want to show a textbox in Cell, How can I do this?

Thanks
Salman Ali
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Aug 23, 2007 10:25 pm    Post subject: Reply with quote

1. Right click on the Virtual Tree and select the Edit Virtual Tree menu. 2. Select the Editors tab and then click the Add button
3. Select System.Windows.Forms.TextBox as the editor control
4. Select the Columns tab and select the column you want the editor associated with. Select the CellEditor you just created.

Instead of associating the editor with a whole column you can also set the CellEditor for an individual CellBinding by selecting the Data Binding tab and then expanding a row binding and selecting the cell binding. This is useful when you don't want the editor displayed for every row.

TextBoxes automatically set their height if Multiline is false. If you want the text box to appear to fill the cell then you need to either set Multiline to false or turn the TextBox borders off. Another alternative is to use Infralutions Universal Edit Box control (which comes with VirtualTree). If you set AutoSize to false for this control it will fill the cell.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
salman



Joined: 23 Aug 2007
Posts: 5

PostPosted: Fri Aug 24, 2007 5:29 am    Post subject: Reply with quote

Thanks
This is very nice control.

Salman Ali
Back to top
View user's profile Send private message
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