Author Topic: Tiny Navigator  (Read 9484 times)

0 Members and 1 Guest are viewing this topic.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Tiny Navigator
« Reply #30 on: August 24, 2019, 10:19:04 pm »
Did you click the X or press Esc? Pressing Esc seems to work for some odd reason.
This also brings me back to something you offered me to change earlier, which I didn't do. You said to change myFiles to myFolders right? I didn't do it though but I wonder if that makes any difference? The reason I didn't do it is because it was already fixed by the time I saw your advice on the code.
Also, just so you know, the mouse's wheel never worked on the menu, I always have to press the top or bottom to scroll up or down. I don't know if you ever got that working yet.

Quote
This also brings me back to something you offered me to change earlier, which I didn't do. You said to change myFiles to myFolders right?
Not necessary, just trying to call the things DIRs not files.

Quote
Also, just so you know, the mouse's wheel never worked on the menu, I always have to press the top or bottom to scroll up or down. I don't know if you ever got that working yet.
YIKES!!! Man! the scroller is best part! Do you have any clippet's of code where the mouse wheel does work?
Maybe we can figure what's off. I assume the arrow keys and PgUp, PgDn keys work?

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Tiny Navigator
« Reply #31 on: August 24, 2019, 10:24:38 pm »
WOW! I fixed it! LOL! I will test it a couple more times but I think I found the problem. Every computer uses _LIMIT 100 probably a tiny bit differently. I commented out _LIMIT 100 on 2 of yours toward the bottom of your code (and the program). In my experience of working with the _LIMIT command is that when my computers gets around 100, the program slows down dramatically. Sometimes it takes to _LIMIT 50. But this is why I try to not keep it under _LIMIT 200 unless I need something to run very slow. So far I've tested my program and so far it's fixed! Thank you again for the help B+! :)
Now to decide if I want to move my tons of music from its own folder to the Windows Default Music folder lol. I probably should also make that the starting folder of the program as well. I think I will.

_LIMIT just saves your CPU from overheating, it limits a loop to a set amount of loops per second if it is going faster than that. 100 is fast enough to check mouse often enough but saves on fan and CPU if code could run faster, it does nothing if code runs slower per loop.

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: Tiny Navigator
« Reply #32 on: August 24, 2019, 10:36:30 pm »
Wow the wheel does work, I guess the times I've tried it I didn't have the program focused right and I needed to click the window somewhere, sorry about that. Also, when I was using the wheel, sometimes it would flip to where the mouse is pointed instead, but only you would know about that. In my experience with 64 bit computers is, or even Windows in general, things can happen that we never know why but they just do. lol
By the way, today is the 24th anniversary of Windows 95. lol

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: Tiny Navigator
« Reply #33 on: August 24, 2019, 10:42:35 pm »
Oh I know why I didn't think the mouse wheel wasn't working, I was used to website scrolling and not the way you did it with selection scrolling instead. Website scrolling scrolls the whole window at once, yours only does that when it gets to the bottom of the list, or the top. :)

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: Tiny Navigator
« Reply #34 on: August 24, 2019, 10:52:09 pm »
I just noticed one little problem with the wheel. The mouse pointer overtakes any menu selection than the wheel has highlighted. For example, if I am using the mouse wheel to highlight the names and come to one called Prince, and the mouse pointer at the same time is over one called Jeff Beck, and I click the mouse button, it will choose Jeff Beck, and not the highlighted one of Prince. This is probably what confused me about the wheel to begin with.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Tiny Navigator
« Reply #35 on: August 24, 2019, 10:56:13 pm »
Yeah, if the highlite is on one thing and mouse somewhere else, not moving, press space bar or enter to select highlighted thing.