[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: System.InvalidOperationException. Use Form.ShowDialog Instead?

Status
Not open for further replies.
M

mkontwg

Guest
Hi Team I have similar problem as well, im getting same error. tried above solution. Its seemed on my side my project folder structure not accurate. See below code; //DEFINE VARIABLE hMain AS Client.Jason NO-UNDO. DEFINE VARIABLE hMain1 AS Client.Form1 NO-UNDO. IF(UserName:Text ="" OR Password:Text="") THEN DO: MESSAGE " Password and Username is Incorrect" VIEW-AS ALERT-BOX WARNING. END. ELSE DO: MESSAGE "Continue " VIEW-AS ALERT-BOX INFORMATION. END. /* this fires the next available window application Once continued message is displayed. */ hMain1 = NEW Client.Form1(). WAIT-FOR hMain:ShowDialog(). hMain1:Dispose(). The Client is my folder has file inside called Form1 and Jason. Error "Name of the class in class statement 'Form1' must match the pattern of the name of the file 'Client\Form1.cls'"

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