Posts: 263
Threads: 14
Joined: Apr 2022
Reputation:
23
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: 593
Threads: 44
Joined: Apr 2022
Reputation:
43
I can confirm that the title does not work. I tried it in versions from 3.4.1 to 3.8.0, same result.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Posts: 263
Threads: 14
Joined: Apr 2022
Reputation:
23
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: 263
Threads: 14
Joined: Apr 2022
Reputation:
23
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: 263
Threads: 14
Joined: Apr 2022
Reputation:
23
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: