<div dir="ltr">On Mon, Jan 3, 2011 at 11:25, Felipe Monteiro de Carvalho <span dir="ltr"><<a href="mailto:felipemonteiro.carvalho@gmail.com">felipemonteiro.carvalho@gmail.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">2011/1/3 ik <<a href="mailto:idokan@gmail.com">idokan@gmail.com</a>>:<br>
<div class="im">> No, you have also removed the ActivePage and it's successor, and it makes a<br>
> lot of problems with existed code.<br>
<br>
</div>Which place exactly uses this property? Is it also around a {$IFDEF<br>
SYN_LAZARUS} ?<br></blockquote><div><br>You have a lot of occurrences such as :<br>synunidesigner.pas at line 825.<br><br>And they do not use {$IFDEF
SYN_LAZARUS} ?<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
> How can I set now a new active page for example ? (If I'll understand that,<br>
> I think I can patch things).<br>
<br>
</div>Setting the page by index:<br></blockquote><div><br>But the code expect to assign the TPage class and not an index, so it require to change the whole way things are working there.<br><br>Why did the ActivePage and ActivePageComponent where removed ?<br>
<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
file lcl/extctrls.pas<br>
<br>
TNotebook = ...<br>
...<br>
property PageIndex: Integer read GetPageIndex write SetPageIndex default -1;<br>
...<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Felipe Monteiro de Carvalho<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br>Ido<br></div>