#1 Roulette Forum & Message Board | www.RouletteForum.cc

Roulette-focused => General Discussion => Topic started by: ThomasGrant on Jul 20, 07:21 AM 2010

Title: Tom's second RSS Pro Tutorial. (Design)
Post by: ThomasGrant on Jul 20, 07:21 AM 2010
This is a picture of my next Project.

(link:://rouletteprofesor.com/rss-pro/my-bot2/01.jpg)

My next Tutorial.
Part 1. Design (What it will look like)
Part 2. Code (How it will work)

Ok, so lets get started with making the bot look good.
Then we can work on getting it to do what we want.

If you haven't done so.
Then I would recommend reading this post.
link:://rouletteforum.cc/coding-for-roulette/tom%27s-first-rss-pro-tutorial/ (link:://rouletteforum.cc/coding-for-roulette/tom%27s-first-rss-pro-tutorial/)

Best way to figure something out.
Is buy doing it.
Mess around with the settings.
Try changing things.
See what affect it has on the look of the bot.

Follow all the steps in my first post.
link:://rouletteforum.cc/coding-for-roulette/tom%27s-first-rss-pro-tutorial/ (link:://rouletteforum.cc/coding-for-roulette/tom%27s-first-rss-pro-tutorial/)
We will be using much of what is there to design and operate this bot.

So first lets work with the Form.
Change the color.
And change the font.

(link:://rouletteprofesor.com/rss-pro/my-bot2/02.jpg)

Here you can change the global font for the bot.
(link:://rouletteprofesor.com/rss-pro/my-bot2/03.jpg)

Now we move on to adding in some flair.

We use TPanel and TBevel to add some borders.
(link:://rouletteprofesor.com/rss-pro/my-bot2/04.jpg)

Remove the captions from the TPanels.
(link:://rouletteprofesor.com/rss-pro/my-bot2/05.jpg)

Now for 3 memos.
3 memos? Why 3?

1 memo for black numbers.
1 memo for 0 zero numbers
1 memo for red numbers.

So lets go make the first one.
Then we can use the first one to make the other 2.
(link:://rouletteprofesor.com/rss-pro/my-bot2/06.jpg)

(link:://rouletteprofesor.com/rss-pro/my-bot2/07.jpg)

Now all we do is copy and paste.
(link:://rouletteprofesor.com/rss-pro/my-bot2/08.jpg)

(link:://rouletteprofesor.com/rss-pro/my-bot2/09.jpg)

(link:://rouletteprofesor.com/rss-pro/my-bot2/10.jpg)

I just change the font colors in Memo 2 and 3.
I also make 2 centre align. And 3 Rightjustify

(link:://rouletteprofesor.com/rss-pro/my-bot2/11.jpg)

That's the memos taken care of.
We will remove the number in them.
And that will be it for them.

Good time to save the project.

Now we add the rest.

We add

2 TCombo boxes.
4 TEdit fields.
2 Buttons
2 Radio buttons.
4 Labels.

(link:://rouletteprofesor.com/rss-pro/my-bot2/12.jpg)

Then we go add some lines to the each of the combo boxes.

(link:://rouletteprofesor.com/rss-pro/my-bot2/13.jpg)

(link:://rouletteprofesor.com/rss-pro/my-bot2/14.jpg)

Save, and done.

We have now completed the first part.
We have designed our first bot.
Or at least what it will look like.
Onto Step 2.
Getting it to work.