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.

big OK button in msgbox

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 09-20-2009, 06:57 AM
Ariel_Z's Avatar
Basic4ppc Veteran
 
Join Date: May 2009
Posts: 246
Default

What do you mean "waiting after calling the ok panel"? Could you upload your source code? even with a regular MsgBox?

Last edited by Ariel_Z : 09-21-2009 at 04:40 AM.
Reply With Quote
  #12 (permalink)  
Old 09-25-2009, 12:50 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Georg,

The way I see is to have either:
- a full screen size panel with the OK button
- a panel that covers all parts of the screen where the user can do something, in order that the only thing he can do is to press the OK button when the OK Panel is displayed.

Attached a small example.
B1 opens a panel that covers all Buttons and the TextBox
B2 opens a full screnn panel
B3, B4, B5 are just other buttons

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide

Last edited by klaus : 09-25-2009 at 12:52 PM.
Reply With Quote
  #13 (permalink)  
Old 09-25-2009, 03:35 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 623
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Can I just ask if you intend to use the program on the device or is it intended as a desktop only application?

I'm thinking along the lines that you could you Agrahams FormEXDesktop library and a child form which if being shown you program for all other subroutines to ignore click and key presses events etc.

Just an idea.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #14 (permalink)  
Old 09-25-2009, 03:59 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 623
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Attached is a very quick example of what I had in mind (and fortunately you don't need to add any conditional statements to check if the form is being shown as it automatically takes priority).
This is applies only to the desktop though!

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #15 (permalink)  
Old 09-25-2009, 04:15 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi RandomCoder,
The example I posted is intended for the device.

On the desktop, as your example shows it, a FormEx can be shown as Modal. This mode doesn't exist on the device, Forms are always full size.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #16 (permalink)  
Old 09-25-2009, 08:20 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 klaus View Post
Forms are always full size.
Except in http://www.basic4ppc.com/forum/addit...html#post27830
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #17 (permalink)  
Old 09-25-2009, 08:35 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Andrew,
Sorry, I missed your library.
But the Modal mode is not supported on the device.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #18 (permalink)  
Old 09-26-2009, 08:28 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

Quote:
Originally Posted by klaus View Post
But the Modal mode is not supported on the device.
I tried it but I removed it as it caused several problems, including the app hanging, if the user used a Task Manager to switch to another task and then back. I think that MessageBox, which is modal, on the device is cleverer than it looks and does some things deep in the system to avoid these hangs and to draw itself. For example it's not obvious how it draws the wireframe when it moves, I tried to emulate that but cannot see a way to do it at the moment .
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
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
MsgBox with a big OK-button on the device schimanski Questions (Windows Mobile) 2 02-21-2009 02:50 PM
Msgbox Question cdeane Questions (Windows Mobile) 2 05-04-2008 09:23 PM
MsgBox does not work? skipper Bug Reports 2 01-05-2008 09:28 AM
Msgbox Vito Questions (Windows Mobile) 2 11-19-2007 08:05 AM


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


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