simple code: Draw line on the form

Discussion in 'Code Samples & Tips' started by xiaoye.org, May 15, 2008.

  1. xiaoye.org

    xiaoye.org New Member

    Simple code: Draw line on the form.

    This code is vary simple, but it is my first useful code
     

    Attached Files:

  2. kyto

    kyto Member Licensed User

    Thanks.

    Thanks! Very useful for me.
     
  3. micronaet

    micronaet New Member Licensed User

    Save the draw

    How can I save the draw created?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

  5. Gifmaster

    Gifmaster Member Licensed User

    xiaoye.org I SEE YOU HAVE A DELL 51V IS THIS WHAT YOU ARE PROGRAMMING FOR?

    i TO HAVE AND WISH TO PROGRAM A FEW THINGS FOR MY pda
    but i dont under stand the layout of basic4ppc.

    Im from old school 1980's Zbasic trs-80's
    and have written many util with standard dos compilers.
    I just cant find any good help here what so ever. maybe i can get tips from you. this is dos basic type and run not easy in basic4ppc
    I dont even know where to enter the code as its not in the open
    for me to find. im hoping to pick up tidbits and learn as samples are lacking
    on this website

    example 010 cls (clear screen)
    020 mode 40 (320X240 SCREEN)
    030 dim A$(10), b(10)
    040 lineinput "enter your Full NAME";A$(1)
    050 CLS
    060 pRINT"Thank you"; a$(1)
    070 end

    Gifmaster
     
  6. Gifmaster

    Gifmaster Member Licensed User

    Draw

    xiaoye.org
    when you run the sample draw program a small window pups up and is labeled form1 where is the code to make that window and the size of that window?

    gifmaster
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Basic4ppc syntax is more similar to Visual Basic syntax.
    Here are some resources to help you get started:
    Getting Started
    Tutorials
    faq
     
  8. Gifmaster

    Gifmaster Member Licensed User

    Startuing Point

    How do you Make a ever so basic window of 1280 x 1024
    and clear that window so its empty?

    in dos basic its

    010 mode 80
    020 cls
    030 end
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    You should create a new form with the designer.
    You can change its size with Tools - Screen size.
     
  10. Gifmaster

    Gifmaster Member Licensed User

    i found the answer to my ?

    MsgBox you can not scrible in and looking at me right in the face i SAW THE WORD fORM . i was looking for a word like Window or screen but
    form was what i was needing.
    "Form is the only control you can draw on"

    Some peoples help is giving you a bunch of web links and telling you to run off and go read. better help is when some one steps up and shows you an example
    and ex-planes the good and the bad. thats why Web forms are made or we would all be reading and would not need each others help.
    some one from basic4pp wrote "don't be shy ask". Great concept! thx U
    in just the last hour Ive gotten some good insight and am starting to
    like what i see.
    encase you cant stand warm helpful input, let me point you to some
    lots of reading

    sorry im not allowed to post Basic4ppc web links on there own fourm.
    i had to change my post minus the referrals to the readings.
    sorry for some bad wording my keyboard keys stick im using a c-64 keyboard

    Gifmaster
     
  11. Gifmaster

    Gifmaster Member Licensed User

    Dell Axim 50v 51V

    Basic4ppc, I can write programs that will run on my
    Dell axim 51v ARM9 Processor using Basic4ppc standalone .exe's
    this is true Yes? NO?
     
  12. Erel

    Erel Administrator Staff Member Licensed User

    This is true.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice