Jump to content

One page back /// one page forward


SergioFeitoza

Recommended Posts

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

 

Link to comment
Share on other sites

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

Align.thumb.png.4d3971ec2c0855c7d635ad7ee8f832b8.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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? 

Link to comment
Share on other sites

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 meWhatIneed.thumb.png.910b03ad5d751a85b61b8012d030bbb1.png . I cannot find where to set the property

 

Link to comment
Share on other sites

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 ?

MovingScreens.thumb.png.319868fe8ad18f17a38aaa1e6ce3e65b.png

Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...