This project is read-only.

form inherits

Aug 4, 2008 at 2:56 PM
hi, i have this problem:  when im deal with a form that inherit from other, i get the error " this form with title" Register Birth" cannot be found after 5000ms.



window = application.GetWindow("Register Birth ", InitializeOption.NoCache); // at this line of code!!!!!

the form property showintaskbar = true, and i cant do anything with this form, i cannot acces a button for example, i guest if because i even cant get this form!!

how can a acces to a form that inherit from other, in my examaple my form inherit from frmRegisterbase..



Aug 6, 2008 at 4:18 PM
Is the space in "Register Birth " intentional?
Can you send me some details from UISpy about this window? Does it have TitleBar, does window element have a Name?
Aug 6, 2008 at 7:16 PM
window = application.GetWindow("Register Birth ", InitializeOption.NoCache); 

// get the form displayed as an object. This works based on the form's title
Register Birth, its the tittle bar of the form. this form, its called from other, using Showdialog(), so i cant get this form.

and with UISpy , i see the window and all the elements inside.

Aug 7, 2008 at 4:58 PM
Can you send me the "current view snapshot" from UISpy after selecting your window.
You can send it to