Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-03

bug report 12594

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ABorka

Sorry, it was posted in the wrong mailing list at first

Show quoted text 33 lines
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.

Reply by email