Don't look now developers, but you've got a pat on your back! - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: Don't look now developers, but you've got a pat on your back! (/showthread.php?tid=3274) |
Don't look now developers, but you've got a pat on your back! - Pete - 12-13-2024 Well, maybe not Pat Sajak, but a big pat on the back from me for the _MessageBox work! I used to have to make either a program popup with PCOPY or a separate program to make a window for things like app help. Now with _MessageBox, that can be accomplished regardless of the program window dimensions and all within the app itself. Here is an example I am including in a soon to be posted WIP. Code: (Select All)
Oh, and that photo? No idea where it came from. My guess is just never try to buy a vowel from Pat if you have bad credit. Bigly thanks! Pete - I Vanna bad boy. RE: Don't look now developers, but you've got a pat on your back! - SierraKen - 12-13-2024 This is sweet! Thanks Pete! RE: Don't look now developers, but you've got a pat on your back! - Pete - 12-13-2024 RE: Don't look now developers, but you've got a pat on your back! - doppler - 12-13-2024 @pete I like it a lot. Can I use different restores to point to multiple data sections ? Then I can multiple different messages to box. Thanks another subroutine to toolbox. RE: Don't look now developers, but you've got a pat on your back! - SierraKen - 12-13-2024 @doppler to gain access to any DATA line, use a counter to READ them up to that certain one and when it reaches the number that you want the DATA line to say, send that to the _MessageBox. Oh and yes you have to use RESTORE every time. Here is an example: Code: (Select All)
RE: Don't look now developers, but you've got a pat on your back! - Pete - 12-14-2024 @doppler I would love QB64 to have... On x Restore MyData1, MyData2, MyData3 but since no one has developed that function, you need to do something like... Select Case x Case 1: Restore MyData1 Case 2: Restore MyData2 Case 3: Restore MyData3 End Select Pete RE: Don't look now developers, but you've got a pat on your back! - doppler - 12-14-2024 @pete I can think of a 1000 uses for message box now. Different help box's for what ever section of code you are in. For 1 use. RE: Don't look now developers, but you've got a pat on your back! - TempodiBasic - 12-15-2024 Great Pete! I like it. Good job. So you've leaved the ASCII SCREEN 0 comfort zone? |