Why do you need the second form? Is the bug not reproducible when using only one form?
DJS --- "Steven J. Serenska" <[EMAIL PROTECTED]> 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 > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/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/

