[fpc-devel] Re: CodeGear abandons Delphi.NET
    Graeme Geldenhuys 
    graemeg.lists at gmail.com
       
    Thu Nov  6 16:18:57 CET 2008
    
    
  
On Thu, Nov 6, 2008 at 5:08 PM, Alexander Klenin <klenin at gmail.com> 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/
    
    
More information about the fpc-devel
mailing list