I’m not sure why I wrote the word “declarations” there. It writes the code, which you can then paste into the procedure (and edit further if needed).
The link for ‘Dialog Workshop’ is a dead end.
Unfortunately true. There is no written documentation for this feature.
Is there perhaps any video from the early training
Not from the early training - I don’t think the Workshop existed then.
The title sheets for the videos Short Programming Topics Part 1 and Short Programming Topics Part 2 both claim that the Dialog workshop is part of the outline. But scrubbing through these videos, it seems to me that this topic was skipped over. I could swear that I remember covering it, but I cannot find it in any of the videos recorded during that period.
Anyway, it’s pretty easy.
First, you create your form. Be sure that your OK and Cancel buttons contain the code resume "". Resize the window to the size you want it to display as a dialog (you’ll have to adjust this later, but it will be faster if you get the size close).
Leave the form open, then create the procedure (or you can use an existing procedure). Open the Dialog Workshop. You’ll see that the code is already written. If your OK button is not named OK, then choose the button from the popup menu. You can also choose whether you want your dialog to be a sheet or a standalone dialog. When you make any changes in the Options are the code will immediately revise to reflect your choices. There is also a Write Code button, but it’s not needed.
Now you can copy the code into your procedure. Either press the Copy Code button, or simply select the text and copy it. Either way, paste it into the procedure window. It’s just code like any other code. You could also paste it straight into the code section of a graphic object, but I usually don’t do that.
Now you can simply run the dialog to test it. Note that you can leave the original form window open while you do that, and you can leave the Workshop open also.
If the dialog size is off such that the Cancel button isn’t visible, just press the ESC key to close the dialog. Usually you need to tweak the dimensions of the dialog in the code to get the size just right - it usually takes 3 or 4 iterations. Voila! Your dialog is ready.
As for the details of dialog code customization, that is all covered on the RunDialog help page.