Discussion in 'Code Samples & Tips' started by xiaoye.org, May 15, 2008.
Simple code: Draw line on the form.
This code is vary simple, but it is my first useful code
Thanks! Very useful for me.
Save the draw
How can I save the draw created?
Or with dzt's http://www.basic4ppc.com/forum/additional-libraries/1403-dzimage-library.html
Or with agraham's http://www.basic4ppc.com/forum/additional-libraries/1640-image-processing-library.html
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)
060 pRINT"Thank you"; a$(1)
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?
Basic4ppc syntax is more similar to Visual Basic syntax.
Here are some resources to help you get started:
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
You should create a new form with the designer.
You can change its size with Tools - Screen size.
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
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?
This is true.