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.

Input Panel

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2007, 08:12 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default Input Panel

This is an example of using a panel to create a pseudo input box.
You can easily customize it to fit your needs.
Attached Images
File Type: jpg Picture2.jpg (15.5 KB, 278 views)
Attached Files
File Type: sbp InputPanel.sbp (1.3 KB, 365 views)
Reply With Quote
  #2 (permalink)  
Old 05-07-2007, 08:36 PM
Newbie
 
Join Date: Apr 2007
Posts: 1
Thumbs up

Es muy simple. Es muy ingenioso. Es un buen ejemplo
Gracias.
Reply With Quote
  #3 (permalink)  
Old 05-17-2007, 12:42 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default A new Inputpanel

A new Inputpanel

Ciao,
Filippo
Attached Files
File Type: zip InputPanel.zip (2.2 KB, 227 views)
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #4 (permalink)  
Old 06-08-2007, 10:55 AM
Senior Member
 
Join Date: May 2007
Posts: 174
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Filippo View Post
A new Inputpanel

Ciao,
Filippo
cool!
it's runaway inputpanel!
Reply With Quote
  #5 (permalink)  
Old 06-08-2007, 11:29 AM
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

Cool?

I don't see the point of a runaway panel, unless it was meant as a joke...In that case, it works, it got me LOL!!!!
__________________
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
  #6 (permalink)  
Old 06-10-2007, 04:19 PM
Senior Member
 
Join Date: May 2007
Posts: 174
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I've tried on the device and it works but not quite on desktop, but the application is for device though.
...I just thought the idea when application's trial version period was over...You can label the panel "Trial version, continue?"...if they can't catch the "yes" button, they urge to buy it (but should be a good one)...
Reply With Quote
  #7 (permalink)  
Old 06-11-2007, 06:44 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Inputpanel for PocketPC and Desktop

Ciao,
Filippo
Attached Files
File Type: zip InputPanel.zip (2.2 KB, 168 views)
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #8 (permalink)  
Old 06-11-2007, 07:35 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hi Filippo,

since you can move your panel completly out of the form (on the device and desktop) with no change of getting it back, you should implement some borders like:
Code:
Sub MovePanel(Panel,x,y)
    Control(
Panel).left=Min(Max(-Control(Panel).Width + 10,Control(Panel).left+(x-pX)),230)
    Control(
Panel).top=Min(Max(-10,Control(Panel).top+(y-pY)),260)
End Sub
Now always a part of the top is accessible.
Reply With Quote
  #9 (permalink)  
Old 07-02-2007, 12:44 PM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Gentlemen,
Similarly to a message box, an input box makes sense only when program execution is stopped until an input was provided.
What do you think?
Cheers
Robert
Reply With Quote
  #10 (permalink)  
Old 07-02-2007, 12:52 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

I agree, An input box IS used when some aditional information is needed by the app, so app should stop when inputbox is shown...But this would require a DLL wouldn't it?
__________________
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
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
a panel question Ricky D Questions (Windows Mobile) 2 10-23-2008 08:08 AM
Panel Georg Questions (Windows Mobile) 1 08-06-2008 09:01 AM
Scrollbar on a Panel willisgt Questions (Windows Mobile) 5 03-10-2008 08:12 PM
autoscrollable panel Henry Questions (Windows Mobile) 7 11-12-2007 06:40 PM
How to draw into a Panel? BasicUser Questions (Windows Mobile) 1 07-21-2007 06:28 AM


All times are GMT. The time now is 09:27 PM.


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