Notepady

Post your own tutorials, guides and demos.

Post » Fri Jan 02, 2009 8:40 pm

Easy notepad example :D
B
6
S
3
G
7
Posts: 138
Reputation: 3,547

Post » Sat Jan 03, 2009 3:39 am

Pretty simple stuff, but good for newbies. :D

I added a simple print option.
B
21
S
14
G
5
Posts: 106
Reputation: 3,416

Post » Sat Jan 03, 2009 12:01 pm

Just to note that Print won't work like that, you'd need to do:

Start job
Start page
Set font
Draw text
Finish page
FInish job

I could add an easy 'Print text' soon.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sun Jan 04, 2009 2:35 am

I crap I just realized what I put :shock:

I meant to put(I was tired) Print file:CommonDialog.FirstSelectedFile
This would mean you would have to save before you printed though.

Your method is much better than even that though.
B
21
S
14
G
5
Posts: 106
Reputation: 3,416

Post » Mon Jan 05, 2009 3:01 pm

Okay, I was trying to create a menu using text boxes. The text box for the file menu is called "FileMenu" and the two choices in the file menu are text boxes called "FileMenu1" and "FileMenu2".

[code:d76c2i5l]
+ Mouse is over FileMenu
- FileMenu: Set filter to blue
- FileMenu: Set bold: Yes

+ On Left Clicked on FileMenu
- FileMenu1: Make Visible
- FileMenu2: Make Visible
[/code:d76c2i5l]

This is as far as I took it because none of it worked. Nothing happened when I hovered the mouse over the FileMenu text box and nothing happened when I clicked it.

What gives?
B
3
S
2
G
4
Posts: 271
Reputation: 2,017


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests