View Issue Details

IDProjectCategoryView StatusLast Update
0000011Lazaruspublic2000-05-30 21:00
ReporterBug ImportAssigned ToMarc Weustink 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0000011: OnResize Event only called for visible forms
DescriptionI wrote a small (1 form with 2 buttons) test app with the lcl (gtk). I want to use the resize event to position the buttons equally spaced.

Resizing when the program runs goes oke. But I want the resize also called in the form.create. That does not happen.

It only happens in the following cases:
win32: The form must be visible (Visible := true)

linux: The form must be visible or must have been visible (Visible := true; Visible := false).
Additional InformationImported information
--------------------
Name: Vincent Snijders
Mail: vrs (at) dds.nl
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetGTK, Win32/Win64
Attached Files

Activities

Bug Import

2000-05-30 21:00

reporter   ~0000010

Marc:

You're right. The Resize event is bound to the
WM_WindowposChanged and that event is only fired
when the widget behind it is created.

Issue History

Date Modified Username Field Change
2000-05-16 00:00 Bug Import New Issue
2000-05-16 00:00 Bug Import Widgetset => GTK, Win32
2000-05-30 21:00 Bug Import Status new => assigned
2000-05-30 21:00 Bug Import Assigned To => Marc Weustink
2000-05-30 21:00 Bug Import Note Added: 0000010
2000-05-30 21:00 Bug Import Status new => closed
2000-05-30 21:00 Bug Import Resolution open => fixed