[progress Communities] [progress Openedge Abl] Forum Post: Re: For Practice

Status
Not open for further replies.
P

Paul Mowat

Guest
Hi Arjon, You'd need to add a button to frmMain.cls and then the code would be similar to below METHOD PRIVATE VOID button1_Click( INPUT sender AS System.Object, INPUT e AS System.EventArgs ): DEFINE VARIABLE oForm AS Form1 NO-UNDO. oForm = NEW Form1(). /* Show */ /*oForm:Show().*/ /* Show as dialog */ WAIT-FOR oForm:ShowDialog(). END METHOD. You initialize the form and then show it either as a normal form or as a dialog. Hope that helps

Continue reading...
 
Status
Not open for further replies.
Top