Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Message Flash


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2007, 03:23 PM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 25
Awards Showcase
Beta Tester 
Total Awards: 1
Question Message Flash

Hi every one,
I am still writing my first program, but i need to flash a message to the screen
eg.
Using dzHW library's delay

sub Delay (ms)
elapse =0
begin = dz.gettickcount
'***Here i want to display a flash screen***
'm=msgbox("delay") wants user input to clear message
do while (elapse <ms)
do events
elapse=dz.gettickcount - begin
loop
end sub
and with this done the flash screen must disapear


Any ideas
thanks
Friedrich
Reply With Quote
  #2 (permalink)  
Old 11-01-2007, 03:31 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Can't you just show a Panel and remove it using a timer?
Reply With Quote
  #3 (permalink)  
Old 11-01-2007, 04:31 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I think you mean a splash screen, a form to display as a welcome to the user and to post some program related info, rigth?

You could use my about panel to do it...it's in the librarys thread
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #4 (permalink)  
Old 11-01-2007, 04:37 PM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 25
Awards Showcase
Beta Tester 
Total Awards: 1
Default

hi Erel
The problem is i use 1 routine for a number of forms
And i get a panel already in use error
I dont know if you can test it without the hardware(rs232)
but i attach the program anyway
any ideas
thanks Friedrich
Attached Files
File Type: sbp transwerk1v6.sbp (11.6 KB, 19 views)
Reply With Quote
  #5 (permalink)  
Old 11-02-2007, 01:30 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Sorry but I'm not sure that I've understood your problem...
Reply With Quote
  #6 (permalink)  
Old 11-02-2007, 08:49 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

If I understood correctly, his trying to flas a custom panel/ form to the user with some pertinent information, halting the execution of the program with it...

This behavior can be acomplished with my abaout panel...

Note:I'm not trying to push you into my about panel, but seems the easyest way to go...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #7 (permalink)  
Old 11-03-2007, 07:44 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Maybe the InputPanel example will help you: Input Panel
Reply With Quote
  #8 (permalink)  
Old 11-03-2007, 10:48 AM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 25
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Cableguy View Post
If I understood correctly, his trying to flas a custom panel/ form to the user with some pertinent information, halting the execution of the program with it...

This behavior can be acomplished with my abaout panel...

Note:I'm not trying to push you into my about panel, but seems the easyest way to go...
The reason I need a message to popup on screen, is because of the delay from the serial communication and micrometer delay in calculating a result
The pop up message must close without user intevention
I am doing it with a form at the moment but it is not ideal
how can I close the about panel on its own
Thanks
Friedrich
Reply With Quote
  #9 (permalink)  
Old 11-03-2007, 01:44 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 650
Default

I added a small example showing something like a splash panel at application start. After pressing the button start, the panel is shown again.
Whithin the sub DoSomething you could implement your calculating delay. In my example I wait randomly for 2 to 5 seconds.

specci48
Attached Files
File Type: sbp SplashScreen.sbp (1.2 KB, 35 views)
Reply With Quote
  #10 (permalink)  
Old 11-03-2007, 04:02 PM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 25
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Cableguy View Post
If I understood correctly, his trying to flas a custom panel/ form to the user with some pertinent information, halting the execution of the program with it...

This behavior can be acomplished with my abaout panel...

Note:I'm not trying to push you into my about panel, but seems the easyest way to go...
The reason I need a message to popup on screen, is because of the delay from the serial communication and micrometer delay in calculating a result
The pop up message must close without user intevention
I am doing it with a form at the moment but it is not ideal
how can I close the about panel on its own
Thanks
Friedrich
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anfängerfrage zu BT / Flash CryoGenID German Forum 0 07-25-2008 01:28 PM
ERROR:Message cdeane Questions & Help Needed 10 07-21-2008 07:59 PM
Macromedia flash ??? superbabicka Questions & Help Needed 2 04-21-2008 07:56 PM
SMS Message Intercept option To Delete Message RandomCoder Basic4ppc Wishlist 0 03-02-2008 10:11 PM
Flash Player Control alfcen Basic4ppc Wishlist 1 05-27-2007 12:51 PM


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


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0