Hi,
I’ve created a form with popup menus that I would like to use as a dialog.
I’ve named them “dField1” and “dField2”, where “Field1” and “Field2” are fields in a record.
The Dialog Workshop generates this code:
loop
rundialog
“Form="Entry_Dialog"
Movable=yes
Menus=normal
WindowTitle={Entry_Dialog}
Height=780 Width=965
AutoEdit="CELL"
stoploopif info("trigger")="Dialog.Close"
if info("trigger")="Button.OK" // Push Button
// your code here
endif
while forever
Note that it does not add the corresponding:
Variable: "dField1=Field1"
Variable: "dField2=Field2"
code that the samples in the documentation shows. And, because of that, the dialog does not function as expected.
If I manually add the “Variable” entities, then the dialog works as expected.
The form I’m working on has quite a few popups, so it would be nice if the Dialog Workshop added all those variables “automagically”.
Am I doing anything wrong here? Or is this a known item of the Dialog Workshop?
TIA,
– Mark