Posts: 276
Threads: 14
Joined: Apr 2022
Reputation:
27
I don't see a dialog box "Title" that I assign. It just calls it "Color". Otherwise, it works fine.
Code: (Select All)
SCREEN _NEWIMAGE(1024, 512, 32)
a~& = _COLORCHOOSERDIALOG("Flood", &HFF000000)
COLOR , a~&
CLS
t~& = _COLORCHOOSERDIALOG("Word", &HFFFFFFFF)
COLOR t~&
LOCATE 10, 10
PRINT "This is your color scheme"
END
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
Posts: 1,277
Threads: 120
Joined: Apr 2022
Reputation:
100
I can confirm that the title does not work. I tried it in versions from 3.4.1 to 3.8.0, same result.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Posts: 276
Threads: 14
Joined: Apr 2022
Reputation:
27
08-09-2023, 05:55 PM
(This post was last modified: 08-09-2023, 05:56 PM by OldMoses.)
I'm using 3.8 (under Windows) and was under the impression that one could assign a title to the color dialog box, but the box apparently has other ideas. It's a small thing and I'll just give it a double quote title from now on.
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
Posts: 276
Threads: 14
Joined: Apr 2022
Reputation:
27
I've had good luck with the other new dialogs so far, although _NOTIFYPOPUP has failed to pop up in one circumstance. I'll have to try them on my newer Win11pro machine later.
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
Posts: 276
Threads: 14
Joined: Apr 2022
Reputation:
27
After playing with it some more, I noticed that it ignored the default color as well. Like a model T, you can have any default color you want, as long as it's black. Just a Windows thing then.
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na: