Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
ccroft

So....what HAS changed in 2008?

Recommended Posts

Thanks. I had been looking at the wrong VS reference document on my HDD - and neither of the on-line VS resources have any info (that I could find) on the new calls.

I'll have to do a little tinkering now to learn what the different variables do...

Share this post


Link to post

Sorry for the cross-posting...

I'm using an image in a dialog, it stopped showing on VW 12.5 & 2008 on Windows. Previously, resource file extension changes broke my scripts on the PC, now I think it might be something similar. On the Mac, works fine.

{...}
CONST
kResourceFile='myimage';  {on Windows that gets myimage.qtr file inside the Plug-ins folder}
{...further down...}
gOKdlog :=  SetVSResourceFile(kResourceFile);
      gDlogID := Define_Dialog;
      IF gOKdlog & VerifyLayout(gDlogID)
              THEN gDlogResult := RunLayoutDialog(gDlogID,Drive_Dialog);
{...inside the dialog code...}
CreateControl(dialogID, 2, 1, kResourceFile, 1010);

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×