Development of the login window in Delphi, how to make a form with a combobox?
Good evening everyone! Kind people, prompt please how to create this login form? User selection made from the Combobox, and the button enter should click on the form, which is designed for example for the doctor, if head select, then the login button navigates to the form of the head and so on. There are 4 user :the Registrar,the Manager , the doctor and the Accountant, help with code please!
procedure TMainForm.EnterButtonOnClick(Sender: TObject);
Forms: array of TForm;
Forms := [RegistrarForm, ManagerForm, DoctorForm, AccountantForm]; // your form