Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 10 total |
Problem With Multiple Forms... |
Wed, Jul 1 2015 6:49 AM | Permanent Link |
Steve Gill | I just created a brand new app in EWB2 B2 which consists of 5 forms. When I run the app, all 5 forms show at the same time in the order they are created. So Form 1 appears, then Form 2 appears on top of it, then Form 3 appears on top of Form 2, and so on. Basically they're stacked on top of each other.
Is anyone else experiencing this? I tried uninstalling EWB and then reinstalling but it still behaves the same. = Steve |
Wed, Jul 1 2015 8:33 AM | Permanent Link |
Doc | Steve Gill wrote:
I just created a brand new app in EWB2 B2 which consists of 5 forms. When I run the app, all 5 forms show at the same time in the order they are created. So Form 1 appears, then Form 2 appears on top of it, then Form 3 appears on top of Form 2, and so on. Basically they're stacked on top of each other. Is anyone else experiencing this? I tried uninstalling EWB and then reinstalling but it still behaves the same. ______________________________________________ Yes, the same here, but no problem. While EWB1 sets all additional forms Visible=false, in EWB2 they are by default Visible=true. You have just to change that and do a form.show or form.visible=true at runtime. |
Wed, Jul 1 2015 5:40 PM | Permanent Link |
Steve Gill | Hi Doc,
<<Yes, the same here, but no problem. While EWB1 sets all additional forms Visible=false, in EWB2 they are by default Visible=true. You have just to change that and do a form.show or form.visible=true at runtime.>> Are you saying I have to change the Interface? I tried hiding all of the forms and run-time, except the main form. When I click on a button one the main form to show another screen, it just goes blank and nothing is displayed. frmMain.Hide; frmLogin.Show; I was experiencing this before with EWB2 so I'm wondering what has changed since the Preview version that makes it behave like this. = Steve |
Wed, Jul 1 2015 5:46 PM | Permanent Link |
Steve Gill | I really should wake up first before typing.
This should have read: "I tried hiding all of the forms and run-time, except the main form. When I click on a button *on* the main form to show another screen, it just goes blank and nothing is displayed. frmMain.Hide; frmLogin.Show; I *wasn't* experiencing this before with EWB2 so I'm wondering what has changed since the Preview version that makes it behave like this." = Steve |
Wed, Jul 1 2015 5:48 PM | Permanent Link |
Steve Gill | If I create the forms dynamically then it works fine. It's only when the forms are auto-created that there is a problem.
= Steve |
Wed, Jul 1 2015 5:54 PM | Permanent Link |
Steve Gill | Weird. I just added one more form to the project and now all of a sudden it's working correctly!??!
= Steve |
Wed, Jul 1 2015 6:13 PM | Permanent Link |
Raul Team Elevate | On 7/1/2015 6:49 AM, Steve Gill wrote:
> I just created a brand new app in EWB2 B2 which consists of 5 forms. When I run the app, all 5 forms show at the same time in the order they are created. So Form 1 appears, then Form 2 appears on top of it, then Form 3 appears on top of Form 2, and so on. Basically they're stacked on top of each other. > Is anyone else experiencing this? I tried uninstalling EWB and then reinstalling but it still behaves the same. I'm little unclear as to what the problem is ? Can you elaborate. This looks normal to me - forms are auto-created and shown on app startup so all 5 will appear stacked. If you want to create them dynamically instead then don't auto-create them (Project->Options->Form tab - move forms you want to create dynamically from "Auto-create forms" list into "Available forms" list). If you do want to auto-create them but just not show on startup then just set the "Visible" property to false for the forms 2 thru 5. Now only form 1 should show up as visible on startup and you can show other forms if you want in code. Raul |
Wed, Jul 1 2015 6:53 PM | Permanent Link |
Steve Gill | Hi Raul,
<< I'm little unclear as to what the problem is ? Can you elaborate. This looks normal to me - forms are auto-created and shown on app startup so all 5 will appear stacked. If you want to create them dynamically instead then don't auto-create them (Project->Options->Form tab - move forms you want to create dynamically from "Auto-create forms" list into "Available forms" list). If you do want to auto-create them but just not show on startup then just set the "Visible" property to false for the forms 2 thru 5. Now only form 1 should show up as visible on startup and you can show other forms if you want in code. >> Yes I'm aware of all this. It took me by surprise when it stacked all of the forms. Except for the main form, I have now set all of the other forms to Visible := False. The other problem I was having was that forms weren't displaying when I show-ed them. For example: frmMain.Hide; frmLogin.Show; The main form would hide but the login form would never show if it was auto-created. If I dynamically created it then it would show. Other forms would behave the same. I then added a 6th form and, without changing anything, the forms suddenly started showing when using the Show method. So what I'm saying is the problem suddenly resolved itself, but I have no idea why. Something weird was going on. I have tried reproducing the issue with a new project but it is working fine. = Steve Raul |
Wed, Jul 1 2015 7:08 PM | Permanent Link |
Raul Team Elevate | On 7/1/2015 6:53 PM, Steve Gill wrote:
> The other problem I was having was that forms weren't displaying when I show-ed them. > The main form would hide but the login form would never show if it was auto-created. If I dynamically created it then it would show. Other forms would behave the same. I then added a 6th form and, without changing anything, the forms suddenly started showing when using the Show method. > So what I'm saying is the problem suddenly resolved itself, but I have no idea why. Something weird was going on. I have tried reproducing the issue with a new project but it is working fine. Tried it here with new project and yes also works fine with auto-created forms. Only thing i can think of is some weird artifact from copy/paste or such - in your original app (one with issues) did you create all forms and controls on them from scratch or did you copy/paste the components from one form to other(s) ? Raul |
Wed, Jul 1 2015 8:41 PM | Permanent Link |
Steve Gill | Hi Raul,
<< Tried it here with new project and yes also works fine with auto-created forms. Only thing i can think of is some weird artifact from copy/paste or such - in your original app (one with issues) did you create all forms and controls on them from scratch or did you copy/paste the components from one form to other(s) ? >> Yes, I copied some elements (logo, links, etc.) to each page. Maybe something got screwed up. = Steve |
This web page was last updated on Friday, December 6, 2024 at 05:39 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |