mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 20:30:33 +02:00
added TControl.HandleObjectShouldBeVisible
git-svn-id: trunk@2045 -
This commit is contained in:
parent
de73023577
commit
409cb9b734
@ -4792,9 +4792,7 @@ begin
|
|||||||
SenderWidget:=PgtkWidget(LCLControl.Handle);
|
SenderWidget:=PgtkWidget(LCLControl.Handle);
|
||||||
//if (Sender is TForm) and (Sender.ClassName='TForm1') then
|
//if (Sender is TForm) and (Sender.ClassName='TForm1') then
|
||||||
// writeln('[TgtkObject.ShowHide] START ',TControl(Sender).Name,':',Sender.ClassName,' Visible=',TControl(Sender).Visible,' GtkVisible=',gtk_widget_visible(SenderWidget));
|
// writeln('[TgtkObject.ShowHide] START ',TControl(Sender).Name,':',Sender.ClassName,' Visible=',TControl(Sender).Visible,' GtkVisible=',gtk_widget_visible(SenderWidget));
|
||||||
if LCLControl.Visible
|
if LCLControl.HandleObjectShouldBeVisible then
|
||||||
or ((csDesigning in LCLControl.ComponentState)
|
|
||||||
and not (csNoDesignVisible in LCLControl.ControlStyle)) then
|
|
||||||
begin
|
begin
|
||||||
if (Sender is TCustomForm) then begin
|
if (Sender is TCustomForm) then begin
|
||||||
// update shared accelerators
|
// update shared accelerators
|
||||||
@ -6889,6 +6887,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.330 2003/03/11 23:14:19 mattias
|
||||||
|
added TControl.HandleObjectShouldBeVisible
|
||||||
|
|
||||||
Revision 1.329 2003/03/11 22:56:41 mattias
|
Revision 1.329 2003/03/11 22:56:41 mattias
|
||||||
added visiblechanging
|
added visiblechanging
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user