Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Code Samples & Tips Share your recent discoveries and ideas with other users.

simple code: Draw line on the form

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2008, 06:23 AM
Newbie
 
Join Date: May 2008
Posts: 3
Talking simple code: Draw line on the form

Simple code: Draw line on the form.

This code is vary simple, but it is my first useful code
Attached Files
File Type: zip draw.zip (4.0 KB, 303 views)
Reply With Quote
  #2 (permalink)  
Old 05-15-2008, 07:15 AM
Junior Member
 
Join Date: Aug 2007
Location: México.
Posts: 36
Smile Thanks.

Thanks! Very useful for me.
__________________
Dell Axim X51v, WM 6.1 + HP Ipaq 2210, PPC 2003.
Reply With Quote
  #3 (permalink)  
Old 09-04-2008, 12:50 PM
Newbie
 
Join Date: Oct 2007
Posts: 3
Default Save the draw

Quote:
Originally Posted by xiaoye.org View Post
Simple code: Draw line on the form.

This code is vary simple, but it is my first useful code
How can I save the draw created?
Reply With Quote
  #4 (permalink)  
Old 09-04-2008, 12:54 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

With: http://www.basic4ppc.com/forum/addit...mage-file.html
Or with dzt's http://www.basic4ppc.com/forum/addit...e-library.html
Or with agraham's http://www.basic4ppc.com/forum/addit...g-library.html
Reply With Quote
  #5 (permalink)  
Old 10-08-2009, 05:05 AM
Junior Member
 
Join Date: Oct 2009
Location: Arizona usa
Posts: 12
Default

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
Reply With Quote
  #6 (permalink)  
Old 10-08-2009, 05:19 AM
Junior Member
 
Join Date: Oct 2009
Location: Arizona usa
Posts: 12
Default 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
Reply With Quote
  #7 (permalink)  
Old 10-08-2009, 05:19 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Basic4ppc syntax is more similar to Visual Basic syntax.
Here are some resources to help you get started:
Getting Started
Tutorials
faq
Reply With Quote
  #8 (permalink)  
Old 10-08-2009, 06:00 AM
Junior Member
 
Join Date: Oct 2009
Location: Arizona usa
Posts: 12
Default 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
Reply With Quote
  #9 (permalink)  
Old 10-08-2009, 06:28 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should create a new form with the designer.
You can change its size with Tools - Screen size.
Reply With Quote
  #10 (permalink)  
Old 10-08-2009, 06:34 AM
Junior Member
 
Join Date: Oct 2009
Location: Arizona usa
Posts: 12
Default 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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
draw line into image control giannimaione Questions (Windows Mobile) 4 06-03-2008 04:40 PM
How to draw a line on a panel? yildi Questions (Windows Mobile) 6 02-29-2008 03:05 PM
Draw line on TabControl? Standa Questions (Windows Mobile) 2 01-19-2008 10:38 AM
More layers to draw in the main form francisco cobos Basic4ppc Wishlist 0 11-08-2007 04:57 PM
How to draw a line? RandomCoder Questions (Windows Mobile) 3 08-24-2007 09:11 PM


All times are GMT. The time now is 09:54 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0