![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Tutorials Basic4ppc tutorials |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
You shouldn't use the Forced QVGA mode.
On the desktop you can change the screen size. Open a form and choose Tools - Screen Size.
__________________
Basic4ppc reference list |
|
|||
|
Hi Erel,
Thanks a lot! Here are what I did: The form size was set to height=800 and width =480 Working on desktop IDE...all controls was sized relative to form size. I have doubled the text size on controls temporarily to get WYSIWYG then put it back to real text size and then compile for device normally. Working with Device IDE I have done normally and runs WYSIWYG, but need work with subroutine code which doubling the control sizes and locations and activate this subroutine code on desktop before compiling for device normally. I hope I'm doing the right way. Any other suggestions?
__________________
Rioven DEVICE: Sony Ericsson XPERIA X1i WM6.1; 480x800 display Resolution; Storage Card: 16GB; QWERTY keyboard. DESKTOP: Intel Pentium Dual-core E5200; Microsoft® Windows® Vista Home (Basic); Hard Disk:320GB; Memory:4096MB Last edited by Rioven : 11-16-2008 at 02:34 AM. |
|
||||
|
The device IDE runs in the same mode as Forced QVGA applications.
I'm not familiar with your specific device but in this mode high resolution devices behave in the same way as low resolution devices by using a "pixel doubling" method. You can create a simple application that shows the width and height of a form. Compile it with the optimized compiler and run it on the device. Compare the results with the results you get when running it from the device IDE.
__________________
Basic4ppc reference list |
|
||||
|
HI guys...
Enabled by the power of modules and the getcontrols keyword...I was able to put together this very small example and module (AutoAdjust)... Hope this will simplify the execution of QVGA designer apps NOT forced QVGA compiled, running in vga devices, enabling the auto resizing, and not have to have the config file and the default dll created in Forced QVGA compilation... This also enables that VGA targeted app can also run, within some limits, in QVGA screens withou having to redo the entire design...Just chnage the "default width in this calculaation: W=Round(Control(FormName).Width/240,1) '240 in QVGA Portrait Mode, 320 in QVGA Landscape Mode, Double those for VGA Modes.. The limitations are that controls such as comboboxes and NumUpDown will not resiize properly in most cases...But I may be wrong... For the example I have posted both B4ppc source, and 2 exe's, one ForcedQVGA compiled, and one NOT QVGA compiled, but both Opti-complied...(hope to make sense...) @EREL, so far no "general use" Modules have been released...I think this is the first one...But perhaps a new sub forum in the samples would be something to think about in the near future....
__________________
Paulo Gomes Porto, Portugal "The Past is nothing more than the constructions of a Present that was once called Future" Desktop PC: Currently NONE Mobile Device: QTEK S200, WinMo 6.5 Laptop: Toshiba NB100-130 DLL Version Listing Last edited by Cableguy : 11-20-2008 at 10:30 PM. |
|
||||
|
Quote:
Maybe when there are more such modules, we'll add a special sub forum.
__________________
Basic4ppc reference list |
|
||||
|
Quote:
__________________
Paulo Gomes Porto, Portugal "The Past is nothing more than the constructions of a Present that was once called Future" Desktop PC: Currently NONE Mobile Device: QTEK S200, WinMo 6.5 Laptop: Toshiba NB100-130 DLL Version Listing |
|
|||
|
Agraham,
From your code, I have added controls on form1, Compiled, tested, and works perfectly on my 480X800 screen! Wonderful!I'll implement this in all my apps. Thank you again! Regards,
__________________
Rioven DEVICE: Sony Ericsson XPERIA X1i WM6.1; 480x800 display Resolution; Storage Card: 16GB; QWERTY keyboard. DESKTOP: Intel Pentium Dual-core E5200; Microsoft® Windows® Vista Home (Basic); Hard Disk:320GB; Memory:4096MB |
|
|||
|
Quote:
![]() |
![]() |
| 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 |
| Compiled EXE is not working on HP iPAQ214 | mozaharul | Questions & Help Needed | 25 | 10-14-2008 10:18 AM |
| Forelayer not working(?) | Cableguy | Questions & Help Needed | 5 | 08-16-2008 11:52 AM |
| working with date | gjoisa | Questions & Help Needed | 3 | 03-29-2008 09:40 AM |
| working with FormExDesktop_1.2 | Cableguy | Questions & Help Needed | 20 | 01-28-2008 06:02 PM |
| calling the device's "Programs" or "settings" screens | HarleyM | Questions & Help Needed | 0 | 12-05-2007 02:59 AM |