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

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

Code Samples & Tips Share your recent discoveries and ideas with other users.

small form size without titles and menus

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2008, 10:52 AM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default small form size without titles and menus

how can i set size of form in device?
for exapmle i want app wit size -cmaal part of display.how

image for example
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #2 (permalink)  
Old 09-03-2008, 12:53 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Forms on the device ALWAYS take full screen, however it is possible to launch a panel and overlap it on any form, just like my about panel does...
have a look at the updated in post#28 INI editor app...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #3 (permalink)  
Old 09-03-2008, 01:51 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
Forms on the device ALWAYS take full screen
I've been Googling and found a way round that A form without a border can be moved and sized programmatically, so using the door library here is a module that does that.

EDIT : - Improved version that lets you move the small form with the stylus. Note that the title and menu are that of the small form when it is displayed. Maybe Formlib.FullScreen or FullScreen2 would remove them, I haven't tried.
Attached Files
File Type: sbp SmallFormDemo.sbp (926 Bytes, 140 views)
File Type: bas SmallForm.bas (1.6 KB, 122 views)

Last edited by agraham : 09-03-2008 at 03:33 PM.
Reply With Quote
  #4 (permalink)  
Old 09-03-2008, 07:59 PM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

good work agraham!!!
i'm rewrite this code for version 6.30
but now it's doesn't work correct...form not resizing but moving.
in 6.41 it work right?
Attached Files
File Type: sbp 1.sbp (2.4 KB, 71 views)
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #5 (permalink)  
Old 09-04-2008, 07:13 AM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

yesyesyes!i'm do it!now my sorce work right!
Attached Files
File Type: sbp 1.sbp (2.5 KB, 119 views)
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #6 (permalink)  
Old 09-04-2008, 07:14 AM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

EREL maybe you move this thread to Code Samples & Tips ?
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #7 (permalink)  
Old 06-23-2011, 03:36 PM
Junior Member
 
Join Date: Jan 2011
Location: Germany
Posts: 29
Send a message via MSN to kustg
Unhappy

i know it's a long time ago, but i don't understand how to get the textboxes in the form? the form in the designer is empty?
Reply With Quote
  #8 (permalink)  
Old 06-23-2011, 05:45 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by kustg View Post
i know it's a long time ago, but i don't understand how to get the textboxes in the form? the form in the designer is empty?
Goodness knows what steps have been gone through to get the source to this state (or why!)...

But if you open the source file in a text viewer you will see that those controls are created for form2. Since the Designer only knows about form1 the controls are invisible!

Mike.
Reply With Quote
  #9 (permalink)  
Old 06-24-2011, 06:37 AM
Junior Member
 
Join Date: Jan 2011
Location: Germany
Posts: 29
Send a message via MSN to kustg
Smile

thank you for your prompt help,mike!
i understand it now
Reply With Quote
  #10 (permalink)  
Old 06-25-2011, 06:36 PM
Junior Member
 
Join Date: Jan 2011
Location: Germany
Posts: 29
Send a message via MSN to kustg
Lightbulb

after some playing around i found out, that you can use it as widget just like in windows , see atached picture. that's strange. you can use it for e.g. a weather widget
Attached Images
File Type: jpg 110625203416.jpg (12.8 KB, 32 views)
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
Problem With Form Size RandomCoder Questions (Windows Mobile) 15 09-05-2008 02:03 PM
Changing the size of a form magi6162 Questions (Windows Mobile) 1 10-24-2007 07:38 AM
screen size to form size relation Cableguy Basic4ppc Wishlist 2 08-14-2007 09:40 PM
Form size problem on PC? agraham Bug Reports 12 07-05-2007 12:00 PM
Menu changes Form Size BPak Questions (Windows Mobile) 2 05-06-2007 05:56 AM


All times are GMT. The time now is 10:05 PM.


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