luiso Posted June 22, 2005 Share Posted June 22, 2005 Sorry (My English is very bad). In VW_Help we have an example that have problems. Procedure CreateDialog no run.(CreateLayout,RunLayoutDialog) Thank you. Quote Link to comment
luiso Posted June 22, 2005 Author Share Posted June 22, 2005 I copy-paste the example in a new document and no run. Quote Link to comment
luiso Posted June 22, 2005 Author Share Posted June 22, 2005 Your answer is that we have a reference book? I think that the example have problems. ?can you help me? Quote Link to comment
luiso Posted June 22, 2005 Author Share Posted June 22, 2005 RunLayoutDialog(dialogID: LONGINT; callback:PROCEDURE):LONGINT; The procedure put NULL in the place of callback and no run. Thank you. Quote Link to comment
Vectorworks, Inc Employee klinzey Posted June 23, 2005 Vectorworks, Inc Employee Share Posted June 23, 2005 Look at the samples on http://www.nemetschek.net/support/custom/vscript/index.html Quote Link to comment
luiso Posted June 23, 2005 Author Share Posted June 23, 2005 Sorry (also for my bad english): The examples (dialog) are very dificult for me. I need understand why the procedure CreateDialog in the VectorWorkHelp don't run: procedure CreateDialog; VAR id: LONGINT; result : LONGINT; BEGIN id := CreateLayout('Revise Layer Link', TRUE, 'Update', 'Cancel'); result := RunLayoutDialog(id,NULL); END; RUN(CreateDialog); Thank You. Quote Link to comment
Rick Francken Posted June 23, 2005 Share Posted June 23, 2005 luiso, In the line below, change "NULL" to NIL. result := RunLayoutDialog(id,NULL); -Rick Francken Quote Link to comment
luiso Posted June 24, 2005 Author Share Posted June 24, 2005 Thank you very much: "NULL" was the problem. You have been very kind. The procedure are running. Quote Link to comment
luiso Posted June 24, 2005 Author Share Posted June 24, 2005 Thanks to Rick Francken (VectorWorks User) I have solved my problem. The manual of VW aid contains an error and you have not paid attention to my request. He would have to review his protocol of answer. Thanks. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.