From: <gre...@co...> - 2004-09-15 18:15:18
|
Kevin Altis wrote: > On Sep 15, 2004, at 6:07 AM, normanwinn wrote: > >> >> A pretty neat design trick in Filemaker might be easily added to the >> PythonCard resource editor. When an object is selected the arrow >> buttons move the object a pixel (or grid position) at a time. > > > Yeah that was on the to do list, so I just added it and checked the > change into cvs. It supports 1 pixel movement right now. I didn't feel > like grappling with the calculation to figure the right relative grid > jump before I had some coffee, but I'll look at that later ;-) > >> If I manage to get my Python up to speed I'd like to try to generate >> the function definition header directly in the code by double clicking >> the item or event in the resource editor - à la Delphi. Good or bad idea? >> > > This is another topic that has been brought up before. Since the > resourceEditor doesn't deal with actually editing the code yet, events > are not part of the attribute list since the assumption is that people > will be using the codeEditor or some other editor to manipulate the > source code. I'd love to have that feature. Visual Basic does that too. Where do I get this codeEditorR.py program? Was it already installed with pyCard? -Greg > > There is a codeEditorR.py program based on the codeEditor that has an > additional experimental feature. When you are editing a source file, it > reads the associated .rsrc.py file and provides a dropdown menu of all > the components. When you select one of the components from the menu, it > populates the second dropdown menu with a list of all the events for the > component type. The events that are already defined have a + in front of > the name. If you select an item with a + in front, the cursor jumps to > that event handler in the code. If you select an event that isn't in > your code, then an event handler stub for that event is inserted at the > current cursor location. > > ka > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: thawte's Crypto Challenge Vl > Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam > Camcorder. More prizes in the weekly Lunch Hour Challenge. > Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |