Go down instead of up

for i := pageControlMain.PageCount -1 downto to do



                                                                  
 (Embedded                                                        
 image moved   [EMAIL PROTECTED]                         
 to file:      08/06/2000 04:45 pm                                
 pic28533.pcx)                                                    
                                                                  



Please respond to [EMAIL PROTECTED]

To:   Multiple recipients of list delphi <[EMAIL PROTECTED]>
cc:
Subject:  [DUG]: Horrible TTabsheet errors


for i := 0 to pageControlMain.PageCount -1 do
  pageControlMain.Pages[i].TabVisible := false;

This piece of junk code is returning an error:
EListError list out of bounds

I am assuming this is some issue with the Tabindex and Pageindex, just not
sure at this point.

Does anyone know the quick fix for this one, like a PageControl tab list
unordered designtime property?

Thanks in advance Nikolai
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Paintbrush

Reply via email to