Jump to content

WhoCanDo

Member
  • Posts

    435
  • Joined

  • Last visited

Everything posted by WhoCanDo

  1. What you can't do is what you want but DoMenuTextByName('Save As',0); will bring up the 'Save AS' window. If you know the file name and location then you could Response := StrDialog('Delivery Docket filename:',concat('\\Sbs2003\working folders\Company shared documents\Craig\Other\Other\Worksheets\',FName)); so the operator can cut and paste this into 'Save As' to save typing.
  2. Hi all Vectorworks lovers. Who uses Vectorworks in Perth, Western Australia? Is it only me?
  3. Aren't you doing "Revert to Saved" or don't you have that option on a Mac?
  4. I've got it ! The InsertChoice populates the AddChoiceItem list after the dialog is open. Here's the basics ..... BeginDialog(1,..... AddChoiceItem(What the hell,4,...... EndDialog; GetDialog(1); InsertChoice(4,LineNo,Text); repeat DialogEvent(Item); case (Item) of 1 : {OK} GetSelChoice(4,0,...... etc. "What the hell" is the "Choice Title" but does not appear to be used for anything except testing your typing skills. Hope this helps other searches in the future.
  5. I've search this forum and could not find any postings for AddChoiceItem I have created a dialog box and used AddChoiceItem('Standard Angle',4,1,120,12,300,28); which works well but I can't get AddChoiceItem populated. Help suggests using InsertChoice(3,1,'30 x 30 x 5'); but I get a VW error "dialog not found" Any suggestions would be appreciated.
  6. Hi All, I want to use GetFile (filename); but I already know where the file is so how do I get GetFile to start in the know location? Regards
×
×
  • Create New...