create form
- Posted by barok59 <barok59 at gmail.com> Jul 31, 2006
- 492 views
Hello, I've got a problem with createForm. i'm going to explain you this one : In my prog, the user see a form with 2 button. One who allows him to launch a form in order to create a file xml, the other allows him to launch a program. So, for the first form i've got this code(there are some french in it, because i'm french!!!) :
createForm({ "Menu principal", "Button, &Maintenance, size=(70,20), at=(10, 10),tooltip=Lancer la maintenance sur un des sites", "Button, &CreerXml, size=*, at=(**,*+10), hint=Créer un fichier XML" }) procedure Click_Lancer(integer self, integer event, sequence parms ) --to do() end procedure registerRoutine("Click_Maintenance", routine_id("Click_Maintenance")) procedure Click_CreerXml(integer self, integer event, sequence parms ) -- call an other form end procedure registerRoutine("Click_CreerXml", routine_id("Click_CreerXml")) include w32Start.ew
My problem is that the second form never appears, and i don't know why. When i'm testing it alone, it runs, but no when it's called by the first one. So, do you understand me? and do you know how to do? Thanks