<div class="gmail_extra"><br><br><div class="gmail_quote">On 25 April 2012 15:52, Howard Page-Clark <span dir="ltr"><<a href="mailto:hdpc@talktalk.net" target="_blank">hdpc@talktalk.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 25/4/12 2:44, Frank Church wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I am running a program developed for Win32 on Linux and I notice that<br>
setting the TabVisible to false on a PageControl make the whole tabsheet<br>
invisible.<br>
<br>
Is that a known bug with the GTK2 page control?<br>
</blockquote>
<br></div>
TabSheets have two properties (for Delphi compatibility), Visible and TabVisible. Visible controls the visibility of items within the client area of a TabSheet. TabVisible allows the display (or not) of the tabSheet as a whole.<br>
<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</blockquote></div><br><br clear="all">My experience of the TabVisible property in Delphi and Lazarus Win32 is that TabVisible makes the tab label where you click visible, ie the contents of the tab can be visible (using the Visible property) but the caption for the tab can be hidden and that is what the TabVisible property is there for. My experience also indicates the same.<br>
<br>snippet from Delphi 7 help<br>===================<br><br>Description<br><br>Use TabVisible to temporarily remove a tab sheet from a page control. When TabVisible is false, the tab does not appear in the page control and its TabIndex property is -1. <b>Setting TabVisible to true allows the user to see the tab of the tab sheet again.</b><br>
<br><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>
</div>