11-27-2022, 06:47 AM
Hi Minerva,
The get_NewFile can be compiled for Linux from the sub folder of that source code, if direntry.h doesn't work from same folder as source (and you compile exe to source folder) then try have the direntry,h file in with QB64pe.exe folder.
Selecting off a list control like files or folders or a student name, first have selection highlighted then Right Click the list box anywhere. Or as you mentioned highlight and press Enter, in get_Filename I even have a button below the folders to select and change directory when you have your choice highlighted.
I was getting strange response with mouse wheel, slow and jammed up anything else you wanted to do UNTIL it finished scrolling. So maybe avoid scrolling with wheel and PgUp/down, Home/End and arrow to choice??
I left these same comments in Class Notes.txt file with zip package.
Tip on coding in this GUI,
con(controlHandle).property
con() is array that holds the controls and just about everything has to be addressed to con().
I also added a tip under list box how to get the array index number of the selected item from that array in list box.
There is similar function that returns the actual string of the array.
The get_NewFile can be compiled for Linux from the sub folder of that source code, if direntry.h doesn't work from same folder as source (and you compile exe to source folder) then try have the direntry,h file in with QB64pe.exe folder.
Selecting off a list control like files or folders or a student name, first have selection highlighted then Right Click the list box anywhere. Or as you mentioned highlight and press Enter, in get_Filename I even have a button below the folders to select and change directory when you have your choice highlighted.
I was getting strange response with mouse wheel, slow and jammed up anything else you wanted to do UNTIL it finished scrolling. So maybe avoid scrolling with wheel and PgUp/down, Home/End and arrow to choice??
I left these same comments in Class Notes.txt file with zip package.
Tip on coding in this GUI,
con(controlHandle).property
con() is array that holds the controls and just about everything has to be addressed to con().
I also added a tip under list box how to get the array index number of the selected item from that array in list box.
There is similar function that returns the actual string of the array.
b = b + ...