CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 91 users online: 1 member, 65 guests and 25 bots.
Members: None.
Bots: Alexa (1), Spinn3r (1), MSN/Bing (2), Magpie Crawler (2), Googlebot (2), Googlebot (17).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
    » Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
» View previous topic :: View next topic  
Author Message
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:05:59 pm    Post subject: My DCS contest entry, TI-MAIL

TI-MAIL is an email program for calculators, it is mostly made of DCS libraries, I mean it, there are alot of libraries..


Here is a screeny (note that there is nothing connected, but it does send and receive)








EDIT: This is alot slower than the real thing x.x
_________________




Last edited by qazz42 on 26 Aug 2010 02:44:36 pm; edited 1 time in total
Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5107
Location: SFBA, California

Posted: 13 Aug 2010 02:09:12 pm    Post subject:

Looks great! Why haven't you taken use of the DCS Menu GUI?
_________________


-Alex
Back to top
SirCmpwn


Coding Knight


Joined: 06 Feb 2010
Posts: 1477
Location: Colorado Springs

Posted: 13 Aug 2010 02:10:19 pm    Post subject:

If I may suggest a couple features:
First off, I have made similar programs in the past, and these are some features I used that you may find interesting:
-Save sent mail somewhere, and then send it to the appropriate calculator next time they plug in to sync up
-Keep a unique ID for the calculator and use that as the identifier. That way, you can say "I want to send this to ABCD next time i sync with them"

Also, you should use the DCS GUI a bit more.
Back to top
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:17:59 pm    Post subject:

Question


my program is mostly using the DCS gui, the only problem is that the main menu cant be GUImenu because It is not a power saving state (which is required for a getcalc)
_________________


Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55759
Location: Earth, Sol, Milky Way

Posted: 13 Aug 2010 02:19:46 pm    Post subject:

qazz42 wrote:
Question


my program is mostly using the DCS gui, the only problem is that the main menu cant be GUImenu because It is not a power saving state (which is required for a getcalc)
You can render the GUI with RenderGUI and then do a Pause... I also see some typos.
_________________


Back to top
SirCmpwn


Coding Knight


Joined: 06 Feb 2010
Posts: 1477
Location: Colorado Springs

Posted: 13 Aug 2010 02:20:22 pm    Post subject:

I would also use a multi-line text box for email composing.
Back to top
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:22:52 pm    Post subject:

a pause wont work, what if you need to get back to the menu and your partner hasnt received the mail yet?


Sir, uhh, it does have multi line text box...
_________________


Back to top
SirCmpwn


Coding Knight


Joined: 06 Feb 2010
Posts: 1477
Location: Colorado Springs

Posted: 13 Aug 2010 02:25:16 pm    Post subject:

It looked like Input to me.
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55759
Location: Earth, Sol, Milky Way

Posted: 13 Aug 2010 02:29:36 pm    Post subject:

SirCmpwn wrote:
It looked like Input to me.
It was indeed an Input from what I could see. I think Qazz is confused between a multiline text output and a multiline text input?
_________________


Back to top
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:33:25 pm    Post subject:

I think I am, the question confused me x.x

I dont know, does DCS support that Sir and/or Kerm?
_________________


Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55759
Location: Earth, Sol, Milky Way

Posted: 13 Aug 2010 02:35:41 pm    Post subject:

qazz42 wrote:
I think I am, the question confused me x.x

I dont know, does DCS support that Sir and/or Kerm?
Yes, of course, otherwise we wouldn't be suggesting it. Very Happy Check out the documentation for sum(7) for GUIRTextMultiline.
_________________




Last edited by KermMartian on 13 Aug 2010 02:37:37 pm; edited 1 time in total
Back to top
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:36:48 pm    Post subject:

umm, thats not there...


edit: oh it is!


ok, I guess I will use that!
_________________


Back to top
calcdude84se


Power User


Joined: 14 Jun 2010
Posts: 408

Posted: 13 Aug 2010 02:37:45 pm    Post subject:

It's one of the features of the GUI library Smile
sum(7,15,{x},{y},{rows},{pixwidth},{startstring}
is how you create it
_________________
People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster.
-Adam Osborne
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55759
Location: Earth, Sol, Milky Way

Posted: 13 Aug 2010 02:38:54 pm    Post subject:

qazz42 wrote:
umm, thats not there...


edit: oh it is!


ok, I guess I will use that!



Code:
• GUIRWrappedText: sum(7,6,X,Y,WIDTH,0,STRING). Draws a block of text starting at (X,Y), of width WIDTH, automatically wrapped as necessary. The WIDTH should not be wider than the container, nor should it cause any part of the text to be rendered below the bottom of the screen. The 0 indicates what font to use; as of Doors CS 7.0, only font 0 is available. Do not confuse this with the GUIRTextMultiline element.



Code:
• GUIRTextMultiline: sum(7,15,X,Y,ROWS,WIDTH,STRING). An interactive multiline textbox with ROWS rows (ie, 6*ROWS pixels tall) and WIDTH pixels wide. The initial contents of the textbox is STRING; line returns can be represented with the Stat Plots symbol "dot". An empty initial STRING "" is also acceptable.

_________________


Back to top
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:40:57 pm    Post subject:

I said I found it, and I am competent at using it Sad no need to explain to me
_________________


Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55759
Location: Earth, Sol, Milky Way

Posted: 13 Aug 2010 02:44:36 pm    Post subject:

qazz42 wrote:
I said I found it, and I am competent at using it Sad no need to explain to me
Well, you didn't seem to be able to find it in the SDK, so I wanted to make sure that you got the information. Sad
_________________


Back to top
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:49:53 pm    Post subject:

eh, fair enough, though, what are the recommended height and width? I can never understand that...
_________________


Back to top
calcdude84se


Power User


Joined: 14 Jun 2010
Posts: 408

Posted: 13 Aug 2010 02:51:41 pm    Post subject:

It depends on what you want it to look like Very Happy
_________________
People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster.
-Adam Osborne
Back to top
qazz42


Vampire Killer


Joined: 07 Apr 2010
Posts: 4177

Posted: 13 Aug 2010 02:53:16 pm    Post subject:

err, almost full screen
_________________


Back to top
calcdude84se


Power User


Joined: 14 Jun 2010
Posts: 408

Posted: 13 Aug 2010 02:57:05 pm    Post subject:

Then you'll want a GUIRNull as the groupmaster (first thing you push) unless you want it in a window
You'll probably have the GUIRTextMultiline it at (0,0) with 10 rows (which might make you adjust the Y to 1 so it's centered vertically) and the width would be either 94, 95, or 96 (I forget whether the border counts towards the width)
_________________
People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster.
-Adam Osborne
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
» View previous topic :: View next topic  
Page 1 of 8 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.035370 seconds.