sjesper Posted January 20, 2012 Share Posted January 20, 2012 Hello. I followed the old manual, because i want to make a form. I got to this line: 4. Press SCAR menu Script > Load DFM form But i simple can't find "Load DFM form" Is it moved? Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 20, 2012 Share Posted January 20, 2012 It was removed, the parser Kaitnieks originally wrote for it wasn't very powerful. Use the new form designer. Tools=>Form Designer Quote Link to comment Share on other sites More sharing options...
sjesper Posted January 20, 2012 Author Share Posted January 20, 2012 It was removed, the parser Kaitnieks originally wrote for it wasn't very powerful. Use the new form designer. Tools=>Form Designer I did used form designer. But i need it convert it to scar language. Well i tried to just copy the dfm file into scar but the code i got look this: object Button3: TButton Left = 103 Top = 204 Width = 87 Height = 25 Caption = 'Load settings' Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -13 Font.Name = 'Arial Narrow' Font.Style = [fsBold] ParentFont = False TabOrder = 3 end end But with no variables. What to do ? ---------- Post added at 09:47 PM ---------- Previous post was at 09:28 PM ---------- I did used form designer. But i need it convert it to scar language. Well i tried to just copy the dfm file into scar but the code i got look this: object Button3: TButton Left = 103 Top = 204 Width = 87 Height = 25 Caption = 'Load settings' Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -13 Font.Name = 'Arial Narrow' Font.Style = [fsBold] ParentFont = False TabOrder = 3 end end But with no variables. What to do ? Ahh just found it. God im sleepy today ^^ Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 20, 2012 Share Posted January 20, 2012 A DFM file is far from Pascal code... Quote Link to comment Share on other sites More sharing options...