Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A couple questions about the dialogs....
#1
I'm making a utility program that doesn't use a main SCREEN at all, but instead relies on dialogs for interaction.  A couple questions, about the message dialog & input box.

1) Is the message dialogs display behavior the same on all OS's?  Will a CHR$(10) start a new line for everyone?

2) Is there a way to center the input box on the screen?

Here's an example of what I'm doing with those.  Giving away what I'm working on again - since _LOADIMAGE/_SNDOPEN has a "memory" option now, I had to reawaken the old QBV project.

- Dav

Code: (Select All)


_ScreenHide

lf$ = Chr$(10)
a$ = "QBV Video Builder v1.0." + lf$ + lf$
a$ = a$ + "This app builds an .QBV Audio/Video file from a" + lf$
a$ = a$ + "numeric sequence of images (ex: 000001.JPG, etc)" + lf$
a$ = a$ + "and an optional .OGG file.  You will be allowed" + lf$
a$ = a$ + "to specify a frame rate." + lf$ + lf$
a$ = a$ + "Please select a starting image file..."

_MessageBox "QB64 Video Builder", a$, "info"

result$ = _InputBox$("QBV Video Builder", "Frame rate p/s:", "15")

End

Find my programs here in Dav's QB64 Corner
Reply


Messages In This Thread
A couple questions about the dialogs.... - by Dav - 09-30-2023, 01:17 AM



Users browsing this thread: 3 Guest(s)