Sorry, it was posted in the wrong mailing list at first
It seems it got closed, but I'm not sure if it is really fixed (can't add notes now). http://bugs.freepascal.org/view.php?id=12594 In D5 the DFM files are something like this with bitbuttons: . . . object BitBtn1: TBitBtn Left = 96 Top = 52 Width = 75 Height = 25 TabOrder = 1 Kind = bkOK end object BitBtn2: TBitBtn Left = 176 Top = 52 Width = 75 Height = 25 TabOrder = 2 Kind = bkCancel end . . . Because the "Caption" and "Modalresult" properties were not specified in there, the converter did not add them automatically for FPC using the "Kind" property (D5 did this automatically it seems). bkOK -> Caption = "OK" and Modalresult = 1 blCancel -> Caption = "Cancel" and modalresult = 2 etc.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
