![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm using FormLib for a fullscreen app. I have sliding panels (animated). This means a panel starts outside the form and moves into the form.
First, all works as expected on desktop. In portrait on device, all works as expected. In landscape, the exact same code causes scrollbars to appear on the form. As soon as the panel becomes visible outside the screen scrollbnars appear. Then as the panel moves into the form the scrollbars decrease. Finally, as the panel is fully into the form, scrollbars disappear. Not really a complaint as much as a curiousity. Wish I would have gotten a consistent result. I would've have liked to know that it wasn't going to work in landscape before I coded the whole project. Last edited by sahoopes : 03-30-2008 at 05:08 PM. Reason: Fix posted |
|
||||
|
Sounds like in landscape mode Form.AutoScroll is being set to True. Download Erels' new Door library and add it as a Component. Make an object, say obj1, and try this code.
Code:
obj1.New1(false)
obj1.FromControl("Form1") ' or whatever your form is called
Msgbox(obj1.GetProperty("AutoScroll"))
' if it is in fact True then try setting it to false
obj1.SetProperty("AutoScroll",False)
|
|
|||
|
Thanks agraham. I was just looking at that and was going to ask how to do it. I really appreciate your help.
... Just tested and works like a charm. Here's the simple code for everyone else: Add Door.dll to your project. Use Add Object to add "Object" and call it obj1. Code:
obj1.New1(false)
obj1.FromControl("Form1")
...
Make sure form1 is visible first
...
if obj1.GetProperty("AutoScroll") = True then obj1.SetProperty("AutoScroll",False)
Code:
obj1.SetProperty("AutoScroll",False)
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disapearing Panels! | ceaser | Basic4ppc Wishlist | 3 | 06-05-2008 04:21 AM |
| Sqlite and Panels | jeterry | Code Samples & Tips | 1 | 05-14-2008 03:55 AM |
| Landscape/Portrait... | yildi | Questions & Help Needed | 8 | 11-20-2007 09:59 AM |
| More properties for panels | RandomCoder | Basic4ppc Wishlist | 0 | 07-12-2007 08:48 PM |
| Landscape Night Clock | Alex812 | Share Your Creations | 4 | 07-03-2007 02:18 PM |