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.

pop up while reading database

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2009, 03:31 PM
hlo's Avatar
hlo hlo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 16
Default pop up while reading database

on a program i'm writting, if the database is rather big I want a popup box (or something like it) that says "one moment please while I find your record". when the record is found i want the popup to programatically be removed and the data be shown. Msgbox won't work because you need an OK. pop.dll wont work as it's timed an the timing is undetermined.
Anybody got some ideas?
thanks in advance, HLO
__________________
HLO, gst mobilesoft of Atlanta
http://gstmobilesoft.com
HTC8900 (ATT Tilt)and Moto Q9h
Reply With Quote
  #2 (permalink)  
Old 10-26-2009, 03:41 PM
Newbie
 
Join Date: Sep 2009
Posts: 3
Default

Why not use "WaitCursor (True)" and "WaitCursor (False)" ?
Reply With Quote
  #3 (permalink)  
Old 10-26-2009, 05:46 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Or Erel's example of the Hardware.Keypress to close the msgbox automatically with a timer.

Or my notification bubble thingy.
http://www.basic4ppc.com/forum/addit...yicon-etc.html

Or was that what you meant by pop.dll ?
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #4 (permalink)  
Old 10-26-2009, 06:29 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

You can also use a Panel with the text on it.
And with Panel1.Visible = True and Panel1.Visible = False show and hide the text.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #5 (permalink)  
Old 10-26-2009, 07:01 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

What action are you doing in your database? It should take long.
Reply With Quote
  #6 (permalink)  
Old 10-26-2009, 07:55 PM
hlo's Avatar
hlo hlo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 16
Default Thanks a bunch! for all the suggestions

thanks for the suggestions. looks like a bunch of ways of doing it. I think i'll start with panel (why didn't I think of that one ) and work up the list.
popup.dll is a routine I found on the forum, can't remember who wrote it, makes a little popup but uses a timer.
the database(s) are in .csv format. I know I should use SQL for more speed (and may yet in the future) but the current requirements are for the database to be easily edited, from time to time, on the hard held. With about 300+ records (clients) it slows to about a 2 second wait on my htc8900. in most cases I don't for see that many records, but to be on the safe side...
Anyway, thanks to one and all.
__________________
HLO, gst mobilesoft of Atlanta
http://gstmobilesoft.com
HTC8900 (ATT Tilt)and Moto Q9h
Reply With Quote
  #7 (permalink)  
Old 10-26-2009, 08:39 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
popup.dll is a routine I found on the forum, can't remember who wrote it, makes a little popup but uses a timer.
Just for the record, It might have been me


@Erel, Agraham, someone ?
Would a notification.duration(5 seconds) halt the system for 5 secsonds ?
Would a timer?.tick(100) event still fire during this 5 second period

DoEvents ?

Sorry
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #8 (permalink)  
Old 10-27-2009, 05:30 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Quote:
Would a notification.duration(5 seconds)
What object is 'notification' ?
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
Can't get the hang of reading Com port Zenerdiode Questions (Windows Mobile) 3 03-16-2009 12:58 PM
Copy Record from one database to another database. mozaharul Questions (Windows Mobile) 0 07-15-2008 04:47 AM
Reading config file Mr_Gee Questions (Windows Mobile) 6 03-15-2008 11:00 AM
How to convert an Access database to a sqlite database Peter Code Samples & Tips 5 07-24-2007 03:20 PM
Reading status of CTS Paul Questions (Windows Mobile) 2 06-19-2007 08:34 AM


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


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