Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic two questions (Read 1879 times)
sbailey
Junior Member
**
Offline



Posts: 61
Location: MD
Joined: Apr 24th, 2009
two questions
Jun 29th, 2009 at 1:10pm
Print Post  
TableClicked doesn't seem to be firing when I click on a table row, only when I click on the caption. I'm assuming this is desired behavior; unfortunately, we'd like to be able to double-click on individual table rows. There's probably something hacky I could do, but is there a setting I'm missing that enables this?

Also, the ml text styles don't seem to be working for table rows; the lines of text still get truncated and the rows retain their heights. Probably something I'm missing again.
  

Editor Programmer&&Bethesda Softworks
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: two questions
Reply #1 - Jun 29th, 2009 at 1:24pm
Print Post  
If there is a cell under the mouse pointer, the control raises TableCellClicked or TableCellDblClicked.

Setting the text style does not resize the table cells automatically to fit the text. Try calling the Table.ResizeToFitText method.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
sbailey
Junior Member
**
Offline



Posts: 61
Location: MD
Joined: Apr 24th, 2009
Re: two questions
Reply #2 - Jun 29th, 2009 at 1:43pm
Print Post  
No idea how I missed that event. Sorry. I think I was searching for "row" instead of "cell." I think I'm resizing to fit text after applying the new text style, but I'll double-check.
  

Editor Programmer&&Bethesda Softworks
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint