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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Newbie-Homemade Dialog Box needed

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2007, 03:32 PM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default Newbie-Homemade Dialog Box needed

I have read as many threads as I can find and my conclusion is that there is no facility for user defined dialog box (even via API). If a new Form is used it is always full screen and width\height do not work. Such a large dalog is not good.

Is there no way a second Form can be resized?
Is there a way to use API calls to produce a popup window with controls in Modal mode?
Reply With Quote
  #2 (permalink)  
Old 10-13-2007, 04:01 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

See this post: http://www.basic4ppc.com/forum/showt...ht=input+panel
Reply With Quote
  #3 (permalink)  
Old 10-13-2007, 04:27 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

Try this "almost fully customizable input panel"

http://www.basic4ppc.com/forum/showt...p?t=769&page=2
__________________
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
  #4 (permalink)  
Old 10-13-2007, 05:06 PM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default

Well thank you both, I don't know how I missed that, except I wasn't looking for Pane.
I must comment that this forum seems to bring out the best. Often similar forums being asked 'stupid questions' results in rudeness or sarcasm.
Thanks
Reply With Quote
  #5 (permalink)  
Old 10-14-2007, 09:46 AM
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

In Cableguy's input panel if you add

Code:
Sub txt1_LostFocus
    txt1.focus
End Sub
Then it will act like a modal dialogue box and not allow the user to do anything else until it is closed

EDIT: Probably obvious but for completeness I should have mentioned for Erels' example
Code:
Sub txtName_LostFocus
    txtName.focus
End Sub
also makes a modal dialog box.

EDIT EDIT: Only works on the desktop - not the device!

Last edited by agraham : 10-14-2007 at 05:05 PM.
Reply With Quote
  #6 (permalink)  
Old 10-14-2007, 01:31 PM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default

Thank you for that agraham
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
XML-support needed Frank Questions (Windows Mobile) 4 01-30-2009 03:07 PM
WebBrowser & HTML help needed tsteward Questions (Windows Mobile) 0 10-23-2008 09:34 AM
Find/Replace Dialog? tsteward Questions (Windows Mobile) 1 10-17-2008 01:07 PM
Color Dialog Box ceaser Basic4ppc Wishlist 12 07-29-2008 08:37 PM
Coding Help Needed kshetarpal Questions (Windows Mobile) 6 11-18-2007 08:44 PM


All times are GMT. The time now is 11:24 AM.


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