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

Go Back   Android Development Forum - Basic4android > Foreign Languages > French Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Comment créer un moment d'attente

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2011, 03:39 PM
Newbie
 
Join Date: Jun 2011
Posts: 5
Default Comment créer un moment d'attente

Bonjour

Je m'explique, je voudrais réaliser la même commande qui est codée dans d'autres langages par :

- Delay(Entier)
- Sleep(Entier)
- Wait((Entier)
- Multitache(Entier)

et j'en passe, mais comment faire sous Basic4Android ??

Merci de votre sollicitude !
Reply With Quote
  #2 (permalink)  
Old 11-14-2011, 05:12 PM
Knows the basics
 
Join Date: Aug 2011
Posts: 61
Default

On peut faire ainsi, trouver sur le forum:

Code:
Sub Wait(Sekunden As Int)
   
Dim Ti As Long
   Ti = 
DateTime.Now + (Sekunden * 1000)
   
Do While DateTime.Now < Ti
      
DoEvents
   
Loop
End Sub
__________________
French user, sorry for my bad english!
Reply With Quote
  #3 (permalink)  
Old 01-17-2012, 01:41 PM
Newbie
 
Join Date: Jun 2011
Posts: 5
Default

Merci beaucoup !
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
Comment/Uncomment JMB Bugs & wishlist 3 02-03-2011 09:15 PM
Fenettre non redimensionable ni réduisable comment y remédier? sitajony French Forum 4 04-17-2010 12:38 AM
FormExDevice.dll Fenettre flotante? Comment faire? sitajony French Forum 2 04-05-2010 07:09 PM
Comment after Do keyword Erel Bug Reports 1 07-24-2007 08:33 PM
bouncball and comment Put Claude Code Samples & Tips 2 05-18-2007 02:02 PM


All times are GMT. The time now is 05:38 PM.


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