• Print

Author Topic: Ritchie's QB64 Menu Library V1.0 (Finished)  (Read 2078 times)

TerryRitchie

  • Hero Member
  • *****
  • Posts: 2264
  • FORMAT C:\ /Q /U /AUTOTEST (How to repair Win8)
    • Email
Re: Ritchie's QB64 Menu Library V1.0 (Finished)
« Reply #30 on: January 18, 2013, 04:35:17 PM »
Yes, SMcNeill did some mods on that.  Look in this thread for his posts.

SMcNeill

  • Hero Member
  • *****
  • Posts: 2414
    • Email
Re: Ritchie's QB64 Menu Library V1.0 (Finished)
« Reply #31 on: February 20, 2013, 04:09:06 AM »
Quote from: small no more on January 18, 2013, 12:19:32 PM
Is there a way to make the "HELP" Menu right justified like in qb64 IDE Menu

I never included anything to move the help menu in my tweaks, but it's not a hard process.

Go to the sub that makes your menu and make the following little changes:

Search and find "mset.width = ", and go to that line.   Change it to:
Code: [Select]
Mset.width = ScreenWidth% '                                                    main menu total width

then down below the
Code: [Select]
    Menu(MainMenu%, 0).x = x% '                                                                    left location of main entry box
Add the lines:
Code: [Select]
    IF MainMenu% = UBOUND(menu) THEN
        Menu(MainMenu%, 0).x = ScreenWidth% - _PRINTWIDTH(ReadData$) - 26
    END IF

That's it.   Save, and the last item on the right of the menu will now pop up on the left side of the screen for you.   It's that simple a change.  ;)
http://bit.ly/TextImage -- Library of QB64 code to manipulate text and images, as a BM library.
http://bit.ly/Color32 -- A set of color CONST for use in 32 bit mode, as a BI library.

http://bit.ly/DataToDrive - A set of routines to quickly and easily get data to and from the disk.  BI and BM files

wiggins

  • Jr. Member
  • **
  • Posts: 50
Re: Ritchie's QB64 Menu Library V1.0 (Finished)
« Reply #32 on: February 22, 2013, 07:31:53 AM »
Very nice menu library.  Easy to use.

Clippy

  • Hero Member
  • *****
  • Posts: 16440
  • I LOVE π = 4 * ATN(1)    Use the QB64 WIKI >>>
    • Pete's Qbasic Site
    • Email
Re: Ritchie's QB64 Menu Library V1.0 (Finished)
« Reply #33 on: February 22, 2013, 04:57:59 PM »
Terry what happened to your site? Do you want me to put it in the WIKI?

http://qb64.net/wiki/index.php?title=QB64_Wiki:Community_Portal

If anybody else has a web site using QB64 let me know!
QB64 WIKI: Main Page
Download Q-Basics Code Demo: Q-Basics.zip
Download QB64 BAT, IconAdder and VBS shortcuts: QB64BAT.zip
Download QB64 DLL files in a ZIP: Program64.zip

codeguy

  • Hero Member
  • *****
  • Posts: 3552
  • what the h3ll did i name that code?
    • stuff at dkm
    • Email
Re: Ritchie's QB64 Menu Library V1.0 (Finished)
« Reply #34 on: February 23, 2013, 07:57:35 AM »
if ya need a way to convert images to RLE-encoded DATA statements, have i got some good news for you -- just look up cgRLE. yep, even saves to clipboard for easy pasting into your programs. ;D
http://denteddisk.forums-free.com/make-an-appointment-with-the-resident-code-guru-f34.html

  • Print