Jump to content


Photo

Can not use more than 5 Forms


  • Please log in to reply
2 replies to this topic

#1 Jascha

Jascha
  • Members
  • 21 posts

Posted 23 August 2017 - 10:38 AM

Hello,
ich if I have an Application with more than 5 Forms. With Application.GotoForm I can switch to the first 5 forms. If I switch to the 6th form i get an error.

Is there a way to solve this?

I have attached an example
Thanks

Attached Files


  • recursiveElk likes this

#2 jarto

jarto
  • Administrators
  • 40 posts
  • LocationVaasa, Finland
  • Enterprise Edition

Posted 23 August 2017 - 12:28 PM

Thank you for reporting this.You can fix this by opening SmartCL.Application.pas and making a small fix in procedure TApplicationFormsList.AutoCreateNextForm

Wrong: if FNextAutoCreate < FList.High then
Right: if FNextAutoCreate <= FList.High then
  • ielite and recursiveElk like this

#3 Jascha

Jascha
  • Members
  • 21 posts

Posted 28 August 2017 - 01:05 PM

Thank you that worked.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users