Jump to content
Developer Wiki and Function Reference Links ×

So....what HAS changed in 2008?


ccroft

Recommended Posts

  • 1 month later...

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);

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...