SergioFeitoza Posted November 27, 2019 Share Posted November 27, 2019 Hi .. Is there a ready component like in the figure attached to make that function "" One page back - one page forward"" ? If not, how can I do a code for this ? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 27, 2019 Share Posted November 27, 2019 18 minutes ago, SergioFeitoza said: Is there a ready component like in the figure attached to make that function "" One page back - one page forward"" ? Hi, Can you please explain? For what purpose...? Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted November 27, 2019 Author Share Posted November 27, 2019 Hi Sherzod. In my code I have three forms . I open the first one and after typing some values there I click a button that will move me to the second form. When in the second form I type some other values and then I click another button and some calculations will be done. What I need is to have the possibility of , when I am in the second form, to go back to the first form, for example, to correct one of the values I typed before. After correcting the value I go again to the second form. If not clear please tell me and I will send a figure with the forms Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted November 27, 2019 Author Share Posted November 27, 2019 See in the figure what I would like to do Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted November 28, 2019 Share Posted November 28, 2019 Hello Sergio, For this I am using Frames. See in attachment a sample Project (Next_Preview). (Frames are very useful : They are lightweight by taking into consideration big applications with too many users). Cheers. Next_Preview.zip Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted November 29, 2019 Author Share Posted November 29, 2019 Hello Abaksoft Thank you very much. I will try to use it now !! Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted November 30, 2019 Author Share Posted November 30, 2019 The help of Abaksoft (above) was very useful and gave me ideas about the use of Frames that I did not perceive before. However, I have an "easy" question that I cannot understand and need your help. If I run the code in the zip file above, I get the screen in the last side of the attached figure. Note that the buttons and the fram1, fram2 and fram3 are like " align=altop" However it is not set like this in the code ( if I did not miss something) What should I do in run time to make it appear like "align = alnone) as in the right side of the figure attached ? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 30, 2019 Share Posted November 30, 2019 10 minutes ago, SergioFeitoza said: If I run the code in the zip file above, I get the screen in the last side of the attached figure. Note that the buttons and the fram1, fram2 and fram3 are like " align=altop" However it is not set like this in the code ( if I did not miss something) What should I do in run time to make it appear like "align = alnone) as in the right side of the figure attached ? First of all, pay attention to the AlignmentControl property of your Frame. Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted November 30, 2019 Author Share Posted November 30, 2019 Hi and Thank you Sherzod. I did what you mention before my post. There are two options there: uniAlignmentServer and uniAlignmentClient. In both, at least here on my computer, the result is the same and looks like altop. I was expecting to read some options like “alnone”. How to achieve this? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 1, 2019 Share Posted December 1, 2019 9 hours ago, SergioFeitoza said: Hi and Thank you Sherzod. I did what you mention before my post. There are two options there: uniAlignmentServer and uniAlignmentClient. In both, at least here on my computer, the result is the same and looks like altop. I was expecting to read some options like “alnone”. How to achieve this? Hi, If possible can you make a simple testcase? Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted December 1, 2019 Author Share Posted December 1, 2019 Hi Sherzod The test case is above and I am repeating it here Next_Preview.zip In the figure below there is what I get and I need to get. I could do it easily using TuniPanel but using TuniContainerPanel + Frame by some reason is not working form me . I cannot find where to set the property Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted December 1, 2019 Author Share Posted December 1, 2019 In the Figure I show why I need to move between forms with an arrow button (forms in sequence) PLEASE ANSWER ME THE FOLLOWING QUESTINS a) What is the advantage of using Frames instead of Forms in cases like this? b) As I prepared everything with “complicated” forms is there a way of “SAVE AS” these forms as a FRAME ? Is there some kind of Converter to do this or the solution is to do manually with copy-pastes ? Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 1, 2019 Share Posted December 1, 2019 Hello Sergio, 1. Unigui use Sencha Extended JS Framework. Sencha Extended JS use a special alignment (client side) : You have to use now Hbox VBox with Flex. I think you might be interested in looking at Layout: advanced tutorial. http://forums.unigui.com/index.php?/topic/7848-layout-advanced-tutorial/&do=findComment&comment=48504 Download the attached file : Layout_Exemple.7z and you will understand 2. Converting Forms in Frames, in my humble opinion, this in not good because all logic will change. cheers 1 Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted December 1, 2019 Author Share Posted December 1, 2019 Thank you Abaksoft. CVVeru useful information Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.