On Thu, Nov 6, 2008 at 5:08 PM, Alexander Klenin <[EMAIL PROTECTED]> wrote:
>>
>>  cbType := TfpgComboBox.Create(self);
>>  with cbType do
>>  begin
>>    Name := 'cbType';
>>    SetPosition(8, 24, 272, 22);
>>    FontDesc := '#List';
>>  end;
>
> So when you write such code by hand, you do not use 'with' ?
> Anyway, this is all just my opinion, and not too strong at that ;-)

I try to prevent the 'with' statement as much as possible. I'll
consider it for a single with statement, but never for a nested with
statement.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to