diegojmap Posted October 21, 2016 Posted October 21, 2016 I have a function in VCL to write Unigui it works, but returns this error loading table:"c is not a constructor"//vclfunction ExisteFormulario(NomeFormulario: TComponentName): TUniForm;var I: Integer;begin Result := nil; for I := 0 to unisession.FormsList.Count - 1 do begin if Result = nil then begin if TUniForm(UniSession.FormsList.Items).Name = NomeFormulario then begin Result := TUniForm(UniSession.FormsList.Items); Break; end; end; end;end;//uniguifunction ExisteFormulario(NomeFormulario: TComponentName): TForm;var I: Integer;begin Result := nil; for I := 0 to Screen.FormCount - 1 do begin if Result = nil then begin if Screen.Forms.Name = NomeFormulario then begin Result := Screen.Forms; Break; end; end; end;end; Quote
Administrators Farshad Mohajeri Posted October 21, 2016 Administrators Posted October 21, 2016 "Screen" is not available in unigui. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.