form inherits

Aug 4, 2008 at 1: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 3: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 6: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 3:58 PM
Can you send me the "current view snapshot" from UISpy after selecting your window.
You can send it to