<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title></title>
</head>
<body>
<p style="margin: 0px;"><span> </span></p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
Hans-Peter Diettrich <DrDiettrich1@aol.com> hat am 11. Juli 2011 um 18:38 geschrieben:<br/>
<br/>
> In working with an frame I get any number of errors :-(<br/>
> [Win32]<br/>
><br/>
> It looks to me as if the (main) form resource is not updated properly,<br/>
> at the right time:<br/>
><br/>
> 1) Frame.alClient (alLeft...) is not really honored. The frame is marked<br/>
> as occupying the according space in the container form, but its<br/>
> components are not (always) resized.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Can you provide an example? </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
><br/>
> 2) An event handler, implemented in the frame and added to one of its<br/>
> components, cannot be set when the form is loaded.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Please create a bug report. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">> The .lfm contains only the method name, perhaps the object name is missing?</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Can you give an example? </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
><br/>
> 3) Sometimes it helps to remove the frames, and to add them again, but<br/>
> not always.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Helps for what? </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
><br/>
> 4) Events seem to be triggered while the frame is *loaded*.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Can you give an example? </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
<br/>
> Some more bugs, with components inside the frame:<br/>
><br/>
> 5) Clearing a combobox.Text doesn't work, at runtime the control always<br/>
> contains its Name.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Please create a bug report with an example. </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
><br/>
> 6) How to use an DirectoryEdit?<br/>
><br/>
> Which is the right event to use for reacting after the user has choosen<br/>
> a directory? I tried EditingDone, but this event is triggered already<br/>
> when the component is loaded[4].
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">I don't know this component well, but that's probably a bug. Please report. </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
<br/>
> Can the dialog be opened by code?<br/>
><br/>
><br/>
> And a last question: what's the preferred procedure for scanning a<br/>
> directory? FindFirstFile etc. look a bit window-ish to me.
</div><br/>
See for example unit fileutil function DeleteDirectory.<br/>
<br/>
Mattias<br/>
<br/>
</body>
</html>