1. Kevin
  2. Valentina Studio
  3. Понедельник, Июль 20 2020, 01:17 AM
  4.  Подписаться через email
Create three forms: A, B, C. Do not connect them to a database (the same behavior occurs when they are).

Place a button on each form.

The button on form A contains this code on clicked:

this.accept();

import '/frm_B' as dlg
dlg.exec()

The button on form B contains the same code accept it is opening form C.

Form C will open form A.

Execute form A. Everything works until form C tries to re-open form A.

The error message below appears twice with the same timestamp:

20:57:04 frm_A: Import recursion.

I initially had two forms and wanted to go from form B to form A. Same error.

Is there a way to do this? Where one can open and close forms and re-open them from other forms?


Thanks.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Kevin,

It's a limitation of the import function, we'll check how to improve it.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Kevin,

The fix will be available in version 10.5
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Also, we have a beta version where this issue is fixed
Ссылки
  1. http://valentina-db.com/download/beta/10.5b20/
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories