Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog box with Time out. ?
#2
(07-26-2024, 12:44 AM)ahenry3068 Wrote: Can I do a Yes/No Dialog box with a time out (say pick the default value if the user doesn't choose within a specific interval) ?
Sure. Pcopy your screen to another page, draw your dialog box and yes/no buttons, and then have code that checks for mouse input along with a timer. When the timer runs out Pcopy the other page back to your screen to remove the dialog box and choose the default value.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
Dialog box with Time out. ? - by ahenry3068 - 07-26-2024, 12:44 AM
RE: Dialog box with Time out. ? - by TerryRitchie - 07-26-2024, 05:14 AM
RE: Dialog box with Time out. ? - by TerryRitchie - 07-26-2024, 06:00 AM
RE: Dialog box with Time out. ? - by Pete - 07-26-2024, 07:16 AM
RE: Dialog box with Time out. ? - by hsiangch_ong - 07-26-2024, 04:24 PM



Users browsing this thread: 2 Guest(s)