Dear Group: My apologies.
I am using TMS Components. When trying to trace this in the debugger, I noticed that I was stepping into TMS's spin.pas and not Borland's. This is a TMS bug. Thanks to everyone who looked into it. Steven J. Serenska Steven J. Serenska wrote: > Dear Delphi Group: > > I am a first time post-er and I'm curious about a bug I just > discovered. I can send anyone who needs the info a small project that > demonstrates this, but re-recreating the issue is easy enough. I am > using Delphi 7. > > To create the bug do the following: > 1) Start a new project. > 2) Put a TButton on the main form. > 3) Create a second form. Put a TSpinEdit on the second form. > 4) Change one of the anchors properties on the TSpinEdit (e.g., > akRight = True). > 5) Put the following code in the OnClick event of the button on the > first form. The code is needed to create and then open the second form: > > procedure TForm1.Button1Click(Sender: TObject); > var > frm2 : TForm2; > begin > frm2 := TForm2.Create( self ); > frm2.ShowModal; > frm2.Free; > end; > > Obviously, you'll need to add the TForm2 unit to the uses clause of > the TForm1 unit. > > 6) When you run the project, you will receve an error indicating > that the Anchors property on the SpinEdit does not exist. > > Does anyone have any suggestions or ideas? > > Thank you. > > Steven J. Serenska > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

