Delphi2Java Supported Procedures and Functions Delphi 1.0, 2.0, 3.0, and 4.0 supported Object Pascal support, including linked lists and pointers Complete visual form conversions Printing via TPrinter VCL code (such as support for properties) ------------------------------------------------------------------------ Supported Controls: TMainMenu TPopupMenu TLabel TEdit TMemo TButton TCheckBox TRadioButton TListBox TComboBox TScrollBar TGroupBox TRadioGroup TPanel TShape TBevel TTimer TImage TBitBtn TScrollBox Multiline Text Control with automatic wordwrapping ------------------------------------------------------------------------ TBrush TCanvas TFont TPen TStringGrid TStringList TStrings TIniFile TPrinter ------------------------------------------------------------------------ DataAware Control TDATASOURCE [dataset] TTABLE [databasename] [tablename] .BOF .Cancel .Close .Delete .DeleteTable .DisableControls .Edit .EmptyTable .EnableControls .EOF .First .Last .MoveBy .Next .Open .Post .Prior .Refresh TBOOKMARK .FreeBookmark .GetBookmark .GotoBookmark TDBNAVIGATOR .VisibleButtons TDBGRID [TDBGrid does not currently support Editing] TDBTEXT TDBEDIT TDBMEMO TDBLISTBOX TDBCOMBOBOX TDBCHECKBOX TDBRADIOGROUP [datafield] [datasource] TQUERY [databasename] [must be equal to ODBC database name] [SQL.String] [SQL code for data access] [All of the TTABLE Commands..Plus..] .ExecSQL .SQL.Clear .SQL.Add Accessing Fields Field Component Types TSTRINGFIELD TBOOLEANFIELD TDATEFIELD TVARBYTESFIELD TWORDFIELD TGRAPHICFIELD TSMALLINTFIELD TFLOATFIELD TTIMEFIELD TBLOBFIELD TBCDFIELD TAUTOINCFIELD TINTEGERFIELD TCURRENCYFIELD TDATETIMEFIELD TMEMOFIELD TBYTESFIELD TNUMERICFIELD Property Value TStringField TSmallIntField TWordField TBooleanField Ex: ShowMessage(Table1Name.Value); Table1Name.Value := Table1Name.Value + ' New'; Field Component Conversion Functions Conversions that may be assigned to .AsString Conversions that may be used on right side of assignment .AsString .AsInteger .AsFloat .AsCurrency .AsDateTime .AsBoolean Accessing field values var S: String; Table1['NAME'] := 'New Name'; S := 'Size'; Table1[S] := '3'; Table1.FieldValues['Weight'] := '4'; Table1.FieldValues['Weight'].AsString := '4'; Table1.Fields[1].AsString := 'Field 1'; S := Table1['NAME']; S := Table1.FieldValues['Weight']; S := Table1.FieldValues['Weight'].AsString; S := Table1.Fields[1].AsString; ------------------------------------------------------------------------ Over 95% of the procedures in the RTL/SYSUTILS (Run-Time Library) ------------------------------------------------------------------------ And more..... |