On 3/5/10 10:00 AM, jvandal wrote: > > I can run the copied form and add to the grid.
You are adding a form to a grid??? > I can delete the record. When > I copied the original form it was missing the createBizobj and other code > such as onHit code. When I copy that code from the original to the copied > form I get it to run. Sounds right. > Why does it not copy the code that is in entered in > the right click select edit code method to enter code. Copy the code? Are you saying you are entering code that isn't getting saved with your design? Or are you saying something else? > Do somehow get > nonvisable key strokes or is that python quirkeness? I have no frame of reference for what you are talking about here. > I try to execute the > code and when it doesn't seem to work, I close out of dabo completely and > then restart dabo to run the code. When you say "restart Dabo" I suppose you mean "restart ClassDesigner.py". Are you saying that the code won't execute while you are in Class Designer, but when you exit and restart ClassDesigner, the code will run? If so, I think this is a known problem. Python can't reload all class definitions after you modify them, so you pretty much have to exit and restart to test changes to your logic. What I would do is not run the class within the Class Designer at all. I'd have the CD open in one window, and a command terminal in another. I'd hit File|Save from CD, and then switch to the terminal, and run the saved app from there to test. This will put it in a different process, and thus ensure you are getting the latest definitions. > I guess I shouldn't be asking this > question ???? You should ask all the questions you have. But you should realize that if you aren't clear, we may have no idea how to begin to assist. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
