New topic: 

EditCell Alignment

<http://forums.realsoftware.com/viewtopic.php?t=26928>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       Paul Burnside           Post subject: EditCell AlignmentPosted: 
Sat Mar 14, 2009 6:53 pm                        
Joined: Mon May 08, 2006 8:50 pm
Posts: 299              I put the integer alignment code for each column in the 
CellTag of Row 0. Either left=1 or Right=3.
When I click in a cell I use the following code to align the EditCell to the 
same alignment as the column.

Code:ActiveCell.enabled=true
ActiveCell.Visible=true
ActiveCell.Alignment=CellTag(0,column).IntegerValue
EditCell row, column


When the program runs it aligns the EditCell to the first cell clicked and does 
not change when other cells are clicked.

If I simply use an integer (ActiveCell.Alignment=3) then I get results but I 
can't figure out why it does not work using pre-stored values in the CellTag 
for row 0.

Any ideas ?   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to