Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?

Supporting multiple resolutions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-14-2007, 05:02 PM
Newbie
 
Join Date: Jul 2007
Posts: 9
Default Supporting multiple resolutions

It might be interesting to support multiple screen sizes and orientations with one program and not be forced to position controls in code.

Compiled applications seem to be working pretty nicely on a CE5.x device but these often have unusual screen sizes.

I'd like to create Form1 for a screen size like 640x480. Position and name all the controls and set font sizes, using the form editor.

Then I'd like to 'clone' Form1 to target a different screen size. All the controls would keep the original names so no code changes are necessary. Perhaps there needs to be a way to map the Form1 identifer in code to the Form1_260x320 clone that is activated based on screen size.

Form1_260x320 could be edited directly, the layout and fonts changed to fit the screen and it would just be swapped in at run time. Same thing would happen with orientation changes, just activate a different version of Form1.

It should be possible to place additional controls on largers screens, or additional columns in tables, so we can use the space smartly. This could also make it easy to support virtual screen sizes with programs like Nyditot.
Reply With Quote
  #2 (permalink)  
Old 07-23-2007, 06:32 PM
Junior Member
 
Join Date: Apr 2007
Posts: 42
Send a message via Yahoo to mwaite
Default

I agree wholeheartedly.

I have a program that supports both portrait and landscape for a 240x320 display. The effort to reposition everything from portrait to landscape was huge considering the number of objects I have hidden on the forms.

Now someone has come to me with my app running on a 240x240 display and I'm terribly disheartened by the amount of work it's going to take to create a new supported screen size.
__________________
Regards,
Mike

PPC Cingular 8525 WM5 4Gb SD
Reply With Quote
  #3 (permalink)  
Old 07-24-2007, 11:34 AM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 622
Awards Showcase
Beta Tester 
Total Awards: 1
Default

To get around this problem I add and position most controls during run time.
I often position one control relative to the Form.Height and Form.Width and then position all other controls relative to this.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with screen resolutions Nycran Questions (Windows Mobile) 27 08-06-2009 11:42 AM
Multiple Undo/Redo Rioven Questions (Windows Mobile) 2 05-15-2008 08:41 AM
Multiple Listviews tsteward Questions (Windows Mobile) 2 04-20-2008 10:16 AM
Multiple Instances of an application Louis Questions (Windows Mobile) 1 12-23-2007 05:20 AM
How to play multiple sounds at once? justdo Questions (Windows Mobile) 2 09-24-2007 03:59 AM


All times are GMT. The time now is 02:06 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0