10-16-2023, 01:02 PM
Dear all,
I have some render issues in my IW app and I don't know how to avoid them.
My app will be used for annual interviews, manager and employee have to reply to a set of questions before the appointment (in a form uQuiz). Then, during the appointment, they review their replies in grid and they have to reply to the same set of questions togheter (in a form uReview).
The list of questions is made of frames inserted in a IWRegion. Questions are built programmatically because I have different types to use (radio groups, memo, edit).
In uQuiz, everything is OK, the list a questions is created as expected (for this demo, I've added the sequence numbers of my questions to validate the list order).
![[Image: quiz_full_yqgf86.png]](https://res.cloudinary.com/teka/image/upload/v1697458519/quiz_full_yqgf86.png)
(the green rectangle is the initial visible area of the scrollable region, I merged some screenshots to present the full region)
In uReview, the review table is OK, but the list of questions is not drawn in the expected order, every question after #4 is added just below #4.
![[Image: review_full_mtn9t8.png]](https://res.cloudinary.com/teka/image/upload/v1697458520/review_full_mtn9t8.png)
The 2 forms uQuiz and uReview contain only a region to receive the questions. I use the same query to get the list of questions, with the same ORDER BY, and the frames are build using a shared procedure, so each form is suppose to do the same thing.
In both case, questions are processed in the correct order.
In uReview, if I refresh the page, the list is rebuild in the correct order.
Unfortunately, I tried to create a test case for you but I can't reproduce the same issue.
But my test case has another strange issue, maybe the origin is the same.
My test case randomly creates a list of questions (type radio group or memo, variable number of elements).
The main form contains 2 elements, a grid and a region to receive the questions frames.
In my HTML template, I want to display the grid then the region. When the app is launched, everything is ok.
But when I press Next or Previous to draw another group of questions, the region is displayed before the grid. Once again, if I refresh my page, the grid and the region are rebuild in the correct order, until I move to another group of questions.
Last problem, if I have to scroll down in my region containing the questions, when I move to another group, the scrollTop is not resetted to 0 and I don't see the new list of questions from the beginning.
This point also exists in my attached test case.
Hope you can understand my problem with my explanation only (not easy to descibe without the code), many thanks in advance for your help.
Regards,
Stéphane
I have some render issues in my IW app and I don't know how to avoid them.
My app will be used for annual interviews, manager and employee have to reply to a set of questions before the appointment (in a form uQuiz). Then, during the appointment, they review their replies in grid and they have to reply to the same set of questions togheter (in a form uReview).
The list of questions is made of frames inserted in a IWRegion. Questions are built programmatically because I have different types to use (radio groups, memo, edit).
In uQuiz, everything is OK, the list a questions is created as expected (for this demo, I've added the sequence numbers of my questions to validate the list order).
![[Image: quiz_full_yqgf86.png]](https://res.cloudinary.com/teka/image/upload/v1697458519/quiz_full_yqgf86.png)
(the green rectangle is the initial visible area of the scrollable region, I merged some screenshots to present the full region)
In uReview, the review table is OK, but the list of questions is not drawn in the expected order, every question after #4 is added just below #4.
![[Image: review_full_mtn9t8.png]](https://res.cloudinary.com/teka/image/upload/v1697458520/review_full_mtn9t8.png)
The 2 forms uQuiz and uReview contain only a region to receive the questions. I use the same query to get the list of questions, with the same ORDER BY, and the frames are build using a shared procedure, so each form is suppose to do the same thing.
In both case, questions are processed in the correct order.
In uReview, if I refresh the page, the list is rebuild in the correct order.
Unfortunately, I tried to create a test case for you but I can't reproduce the same issue.
But my test case has another strange issue, maybe the origin is the same.
My test case randomly creates a list of questions (type radio group or memo, variable number of elements).
The main form contains 2 elements, a grid and a region to receive the questions frames.
In my HTML template, I want to display the grid then the region. When the app is launched, everything is ok.
But when I press Next or Previous to draw another group of questions, the region is displayed before the grid. Once again, if I refresh my page, the grid and the region are rebuild in the correct order, until I move to another group of questions.
Last problem, if I have to scroll down in my region containing the questions, when I move to another group, the scrollTop is not resetted to 0 and I don't see the new list of questions from the beginning.
This point also exists in my attached test case.
Hope you can understand my problem with my explanation only (not easy to descibe without the code), many thanks in advance for your help.
Regards,
Stéphane