Le lundi 25 mars 2002, à 09:10 , Frank Seipel a écrit : > I'm trying to create some buttons with no outlines. I tried the code > below, but it doesn't work. Any thoughts? Thanks! > > COMPILE 0,_IncludeCDEF > > WINDOW 1,"Chessell Recorder Present Values",(1,41)-(1000,800),_docRound > > button #1,_activeBtn,"Test Button",(10,10)-(100,30),_CDEFBaseID + > _push + CDEFnoOutline > > do > until inkey$<>"" what version of fb, and what runtime. afaik, the cdefs have disappeared in appearance and are mapped to standard buttons [new ones] in standard runtime for carbon. perhaps you should look at the type of [carbon] button that you wish to produce. > >> Warning: Setting COMPILE options inline may override Editor pref's. >> in file Temp Project at line 23 in Main Program >> *COMPILE 0,_IncludeCDEF* > > However, I don't think this matters. warnings are when the compiler is being nice to you. generally the only person you may harm is yourself. and the compiler just indicates what is not normal. :-j