Hi
I am working on a remote server (a long way away, over a slow connection, which could have something to do with it: Windows Server 2012 R2 - DF 19.1) and WebApp Designer just isn't working at all for some things (mostly dialogs and lookups) which is a real PitA - I need to tweak, compile, run, and trigger the dialog or whatever to see every change. Maybe someone can help.
New Web Modal Dialog (comments stripped to save space):
Code:
Use cWebModalDialog.pkg
Use cWebPanel.pkg
Use cWebButton.pkg
Use cWebForm.pkg
Object oTestDG is a cWebModalDialog
Set psCaption to "Test Dialog"
Set piMinWidth to 500
Set piMinHeight to 200
Set pbServerOnSubmit to True
Object oMainPanel is a cWebPanel
Set piColumnCount to 12
End_Object
Object oBottomPanel is a cWebPanel
Set piColumnCount to 6
Set peRegion to prBottom
Object oOkButton is a cWebButton
Set psCaption to C_$OK
Set piColumnSpan to 1
Set piColumnIndex to 4
Procedure OnClick
Send Ok
End_Procedure
End_Object
Object oCancelButton is a cWebButton
Set psCaption to C_$Cancel
Set piColumnSpan to 1
Set piColumnIndex to 5
Procedure OnClick
Send Cancel
End_Procedure
End_Object
End_Object
Procedure OnSubmit
Send Ok
End_Procedure
Procedure Ok
Forward Send Ok
End_Procedure
Procedure Cancel
Forward Send Cancel
End_Procedure
End_Object
And in WebApp Designer, Sweet F**k Nothing (as a Spanish friend of mine used to say ):
Any clue? Maybe I'm making an obvious mistake.
Mike