Weekly Qbasic and Qb64 Lesson Topics
March 29, 2024, 03:49:45 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to see a specific Tutorial? ASK!
 
  Home Help Search Arcade Links Staff List Login Register  

Opens Notepad,but need to know more

Pages: 1 [2]
  Print  
Author Topic: Opens Notepad,but need to know more  (Read 1931 times)
GarrisonRicketson
Admin
Administrator
Hero Member
*****
Posts: 583



WWW
« Reply #15 on: May 12, 2011, 11:30:54 pm »

YES!, this is exactly what I was looking for,... Cheesy   I think this is resolved,..now,
It  is basicly pretty simple,....But can be "built up", Ie: Addng images to the sprite sheet, and new lines to the textI understand that each time a image is added:
Code:
          CASE 4
        x = 201
        _PUTIMAGE (100, 100)-(220, 190), WorkPage&, 0, (x, 0)-(x + 67, 67)
CASE 5    '///For example
x= 268
_PUTIMAGE (100, 100)-(220, 190), WorkPage&, 0, (x, 0)-(x + 67, 67)
 
And if I understand, correctly, just by editing the textfile,adding the line that is for the new image. ---Edited:Had a question, but it got answered, when I tried,..works fine,...This is great!,..I added 1 more image, and also a line to the text,...and it worked fine,...
 Thanks alot Oldoslover,...
 It may sound silly, but I am going to enjoy this one,...

Quote
This will fail if the line of text is too long.
Thats ok, (Jim-- All he dose is sit and think all day, he never speaks and so we still do not know what it is he is thinking.)
So this is the maximum, length ? That is sort of why I threw in the one longest line, there is no need for any lines to be longer.  Those will always be short.
  All said and done, this is exactly what I was after,and should work fine,. I may do one, but  with,the wife,our son (alfosnso), the grandchild, and his Mom and Dad. So each line of text will be short, nothing more then a short "this is my wife." "This is Alfonso,our son",...and so on....
------------------------------------------------
Thanks, and this is a neat little "photo album",..or "sketch book" with captions,.. Now the BIG question,...
 How hard would it be to make a "user friendly", version, That, just Asks for  input, "Enter the filename of the image you want to add,Ie:filename.JPG,.BMP.PNG"
"Enter the text you want to go with the Image,limited XXnumber of charcacters"
 a menu with 2 options, VIEW my Album
                                 Edit My Album
Just a thought, later on down the road, ----believe me , when I first started
asking about this, I really wasn't sure what I was thinking,..nor why..!
From Garry
 

« Last Edit: May 13, 2011, 12:57:51 am by GarrisonRicketson » Report Spam   Logged


Pages: 1 [2]
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy