My own Silverlight textbox

Size: px
Start display at page:

Download "My own Silverlight textbox"

Transcription

1 My own Silverlight textbox Step 1: create a new project I use the beta 2 of Visual Studio 2008 ( codename Orcas ) for this tutorial. You can download the beta2 form You also need the silverlight 1.1 runtimes and Visual Studio tools. They can be downloaded from It is also possible to use Expression Blend 2.0 September Preview for this tutorial. But the xaml code is pretty basic, so I do everything in Visual Studio. Start Visual Studio and choose File New Project. Choose VB as language and Silverlight as project type. Give also a name and choose a location for the project. Step 2: create the textbox The textbox is nothing more than a rectangle and a textblock. I use the rectangle as the border of the textbox and the textblock will contain the content. Open the page.xaml file. Complete the file between the <Canvas> and </Canvas> element with these two lines: <Rectangle x:name="myrectangle" Width="250" Height="24" Stroke="#FF000000" Canvas.Left="40" Canvas.Top="40" /> <TextBlock x:name="mytextblock" Width="246" Height="24" Text="" Canvas.Left="42" Canvas.Top="40" /> The element <Rectangle> or <TextBlock> will define a new rectangle or textblock. The attribute x:name gives the elements a unique name that can be used from code behind. The properties Width en Height defines the size of the elements. Notice that the size of the textblock is a little bit smaller. So, the text will not be stuck to the boder.

2 The properties Canvas.Left an Canvas.Height defines the position of the elements. For the same reason as the Width property, the Canvas.Left property for the textblock is a little bit larger. Finally, I give the rectangle a black stroke, so we will actualy see the border. If you run your application, you will see something like this Step 3: how to type in the textbox The textblock will act like a textbock if I catch the KeyDown event on the canvas and then put the result of the pressed key in the textblock. In the page.xaml file add the following line of code to the Canvas element: <Canvas x:name="parentcanvas" xmlns=" xmlns:x=" Loaded="Page_Loaded" KeyDown="AddCharacter" > This will call a routine AddCharacter from the code behind file. The routine looks like this: Private Sub AddCharacter(ByVal o As Object, ByVal e As KeyboardEventArgs) Dim newchar As Char = Chr(e.PlatformKeyCode) mytextblock.text &= newchar End Sub The argument e contains the key we pressed. With the Chr() function of VB, I convert the PlatformKeyCode property of the argument to a character. In the second line, I add the character to the textblock. Test the project again and you will see that you can type in the textbox.

3 Nice, but there are still a lot of problems: The backspace can t be used I can t decide to type in upper case or lower case There is no cursor in my textbox. We solve these problems in the next steps. Step 4: implement a backspace If you look at the e.platformkeycode when the backspace is pressed you will see that it returns the number 8. So, every time e.platformkeycode is equal to 8 we have to remove the last character from the textblock. But we must also check if there is any character in the textblock. Otherwise it will give an error to delete the latest character. The code looks like this and can be added above the first two lines: ' check if the pressed key is the backspace If e.platformkeycode = 8 Then ' delete the latest character is there is a character available If mytextblock.text.length > 0 Then mytextblock.text = mytextblock.text.substring(0, mytextblock.text.length - 1) ' exit the routine Exit Sub Test your project by typing some text and press the backspace multiple times. Step 5: lower case or upper case You have probably noticed that all text is displayed in upper case. I only want the text to be in upper case if the Shift key is also pressed. The problem is that pressing the Shift key also triggers the KeyDown event and shows a non printable character in my textbox. I will use a global variable of the type Boolean to solve this problem. I set the variable to true when the Shift key is pressed and exits the method when shift is the only key that is pressed. The next character will be in uppercase. After that the Boolean is set to false again. This is the code. You can add it below the code for the backspace. This code also replaces the first two lines from step 3. ' at the top of you code behind file Private mbshiftpressed As Boolean

4 The code in the routine AddCharacter: ' check is shift is pressed If e.shift = True Then ' set the boolean to true mbshiftpressed = True ' check if shift is the only key that is pressed If e.platformkeycode = 16 Then Exit Sub ' add the character to the textblock If mbshiftpressed = True Then ' the character must be in uppercase Dim supper As String = Convert.ToString(Chr(e.PlatformKeyCode)).ToUpper() mytextblock.text &= supper ' set the boolean back to false mbshiftpressed = False Else ' the character must be in lower case Dim slower As String = Convert.ToString(Chr(e.PlatformKeyCode)).ToLower() mytextblock.text &= slower Test your project and you will see that you can type in upper case and lower case just like in every other textblock. Step 6: display a cursor First, I will draw a rectangle that represents the cursor. Then, I will create a storyboard ( animation ) that makes the cursor blink. To create the rectangle, add this line of xaml code below the Rectangle and Textblock elements: <Rectangle Width="1" Height="20" Stroke="#FF000000" Canvas.Left="42" Canvas.Top="40" x:name="cursorrectangle"/> The attributes Width, Height, Canvas.Left and Canvas.Top makes sure that the cursor stands at the beginning of the textblock. Now, I will create the storyboard that makes the cursor blinks. The storyboard could also be created with Expression Blend 2.0, but it is a good practise to do this in pure xaml.

5 You can insert the xaml code between the Canvas and first Rectangle element of the file page.xaml: <Canvas.Triggers> <EventTrigger RoutedEvent="Canvas.Loaded"> <BeginStoryboard> <Storyboard x:name="cursorblink"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="cursorRectangle" Storyboard.TargetProperty="(UIElement.Opacity)" RepeatBehavior="Forever"> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> <SplineDoubleKeyFrame KeyTime="00:00: " Value="1"/> <SplineDoubleKeyFrame KeyTime="00:00: " Value="0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </BeginStoryboard> </EventTrigger> </Canvas.Triggers> First, I got a Canvas.Triggers element with an EventTrigger element. This indicates that the animation should start when the canvas is loaded. BeginStoryboard indicates that we will create a new storyboard with the name cursorblink. This name can be used to address the storyboard in code behind. DoubleAnimatonUsingKeyFrames: indicates that the animation will change the value of a double. o BeginTime: the animation will start immidiatly o Storyboard.TargetName: the animation will infect the element cursorrectangle o Storyboard.TargetProperty: the property Opactiy of the cursorrectangle will be changed o Repeatbehaviour: the animation will never stop. SplineDoubleKeyFrame: this is one keyframe in the animation o KeyTime: when is the keyframe executed o Value: what is the value of the opacity for the cursorrectangle element If you test your project, you should see a blinking cursor at the beginning of the textbox. The last problem that should be solved, is that the cursor must move with the text. This will be done in code behind. Type this line of code before the Exit Sub of the backspace in the routine AddCharacter and at the bottom of the method AddCharacter. So the code will be executed if we press the backspace or another character. ' move the cursor cursorrectangle.setvalue(leftproperty, mytextblock.actualwidth + mytextblock.getvalue(leftproperty)) This code will set the LeftProperty of the cursorrectangle element to his AcualWidth + the left value of the textblock element. Test your project for the last time, and you should have a nice working textbox in Silverlight!

Silverlight Invaders Step 0: general overview The purpose of this tutorial is to create a small game like space invaders. The first thing we will do is set up the canvas of design some user controls (

More information

Silverlight memory board ( Part 2 )

Silverlight memory board ( Part 2 ) Silverlight memory board ( Part 2 ) In the first part this tutorial we created a new Silverlight project and designed the user interface. In this part, we will add some code to the project to make the

More information

CPSC 481 Tutorial 10 Expression Blend. Brennan Jones (based on tutorials by Bon Adriel Aseniero and David Ledo)

CPSC 481 Tutorial 10 Expression Blend. Brennan Jones (based on tutorials by Bon Adriel Aseniero and David Ledo) CPSC 481 Tutorial 10 Expression Blend Brennan Jones bdgjones@ucalgary.ca (based on tutorials by Bon Adriel Aseniero and David Ledo) Expression Blend Enables you to build rich and compelling applications

More information

Yes, this is still a listbox!

Yes, this is still a listbox! Yes, this is still a listbox! Step 1: create a new project I use the beta 2 of Visual Studio 2008 ( codename Orcas ) and Expression Blend 2.0 September preview for this tutorial. You can download the beta2

More information

Seminar Internetdienste Thema: Silverlight

Seminar Internetdienste Thema: Silverlight Seminar Internetdienste Thema: Silverlight Zlatko Filipovski zlatko.filipovski [AT] uni-ulm.de Wintersemestar 2007 Contents 1 Overall 2 1.1 Why was Silverlight created.. 2 1.2 Silverlight 1.0 (JavaScript)

More information

CPSC Tutorial 9 Blend & Animations

CPSC Tutorial 9 Blend & Animations CPSC 481 - Tutorial 9 Blend & Animations (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, and Sowmya Somanath) Today Blend & Animations Using Blend Hands on example

More information

CPSC Tutorial 6

CPSC Tutorial 6 CPSC 481 - Tutorial 6 More WPF (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, Sowmya Somanath, and Kevin Ta) Introduction Contact Info li26@ucalgary.ca Please

More information

WebAqua.NET 2.0 White Paper

WebAqua.NET 2.0 White Paper WebAqua.NET 2.0 White Paper Table of Contents Overview... 3 Technology... 4 Silverlight 2.0... 4 ASP.NET... 6 Licensing and Deployment for Silverlight 2.0... 7 Runtime Licensing... 7 Deployment... 8 Design-time

More information

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation. Copyright by V. Miszalok, last update:

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation. Copyright by V. Miszalok, last update: 1 Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation Preliminaries Page.XAML Page.xaml.cs Copyright by V. Miszalok, last update: 30-01-2009 Install 1) Visual

More information

Video Library: Silverlight 1.1 Case Example

Video Library: Silverlight 1.1 Case Example 28401c08online.qxd:WroxPro 9/12/07 9:29 PM Page 1 Video Library: Silverlight 1.1 Case Example For our Silverlight 1.1 example, we chose to port our Silverlight 1.0 example to 1.1. This provides a good

More information

ADOBE PHOTOSHOP Using Masks for Illustration Effects

ADOBE PHOTOSHOP Using Masks for Illustration Effects ADOBE PHOTOSHOP Using Masks for Illustration Effects PS PREVIEW OVERVIEW In this exercise, you ll see a more illustrative use of Photoshop. You ll combine existing photos with digital art created from

More information

Weather forecast ( part 2 )

Weather forecast ( part 2 ) Weather forecast ( part 2 ) In the first part of this tutorial, I have consumed two webservices and tested them in a Silverlight project. In the second part, I will create a user interface and use some

More information

Adobe photoshop Using Masks for Illustration Effects

Adobe photoshop Using Masks for Illustration Effects Adobe photoshop Using Masks for Illustration Effects PS Preview Overview In this exercise you ll see a more illustrative use of Photoshop. You ll combine existing photos with digital art created from scratch

More information

Patrocinadores. Web Platforms. DEV002 The Microsoft Web Story. Jeff Prosise Cofounder, Wintellect ASP.NET 2.0 ASP.

Patrocinadores. Web Platforms. DEV002 The Microsoft Web Story. Jeff Prosise Cofounder, Wintellect ASP.NET 2.0 ASP. DEV002 The Microsoft Web Story Jeff Prosise jeffpro@wintellect.com Cofounder, Wintellect Patrocinadores Web Platforms ASP.NET 2.0 ASP.NET AJAX Control-centric programming model, rich services and features

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 2

CS3240 Human-Computer Interaction Lab Sheet Lab Session 2 CS3240 Human-Computer Interaction Lab Sheet Lab Session 2 Key Features of Silverlight Page 1 Overview In this lab, you will get familiarized with the key features of Silverlight, such as layout containers,

More information

CS3240 Human-Computer Interaction

CS3240 Human-Computer Interaction CS3240 Human-Computer Interaction Lab Session 3 Supplement Creating a Picture Viewer Silverlight Application Page 1 Introduction This supplementary document is provided as a reference that showcases an

More information

Hands-On Lab. Building Applications in Silverlight 4 Module 6: Printing the Schedule. Printing the Schedule

Hands-On Lab. Building Applications in Silverlight 4 Module 6: Printing the Schedule. Printing the Schedule Hands-On Lab Building Applications in Silverlight 4 Module 6: 1 P a g e Contents Introduction... 3 Exercise 1: on One Page... 4 Create the Printing ViewModel and View... 4 Hook up the Print Button... 7

More information

Function: function procedures and sub procedures share the same characteristics, with

Function: function procedures and sub procedures share the same characteristics, with Function: function procedures and sub procedures share the same characteristics, with one important difference- function procedures return a value (e.g., give a value back) to the caller, whereas sub procedures

More information

Fundamentals of XAML and Microsoft Expression Blend

Fundamentals of XAML and Microsoft Expression Blend 10553A - Version: 1 22 April 2018 Fundamentals of XAML and Microsoft Expression Blend Fundamentals of XAML and Microsoft Expression Blend 10553A - Version: 1 3 days Course Description: This 3-day course

More information

Create a custom tab using Visual Basic

Create a custom tab using Visual Basic tutorials COM programming Create a custom tab using Visual Basic 1/5 Related files vb_tab.zip Description Visual basic files related to this tutorial Introduction This tutorial explains how to create and

More information

1. Multimedia authoring is the process of creating a multimedia production:

1. Multimedia authoring is the process of creating a multimedia production: Chapter 8 1. Multimedia authoring is the process of creating a multimedia production: Creating/assembling/sequencing media elements Adding interactivity Testing (Alpha/Beta) Packaging Distributing to end

More information

Copyright Soyatec. Licensed under the Eclipse Public License 1.0

Copyright Soyatec. Licensed under the Eclipse Public License 1.0 Contents Needs Architecture XAML fundamentals Data Binding Presentation Modeling Framework - MDA Advanced features Roadmap Testimony Q&A Needs Visual VisualUI UI Editor Editor Business Analyst UI UI Modeler

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom

CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom CS3240 Lab SEM 1 2009/2010 Page 1 Overview In this lab, you will get familiarized with interactive media elements such

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration Page 1 Overview In this lab, users will get themselves familarise with fact that Expression Blend uses the identical

More information

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,

More information

Exam sell. Higher Quality Better Service! Certified IT practice exam authority.

Exam sell. Higher Quality Better Service! Certified IT practice exam authority. Higher Quality Better Service! Exam sell Certified IT practice exam authority Accurate study guides, High passing rate! Exam Sell provides update free of charge in one year! http://www.examsell.com Exam

More information

Using Masks for Illustration Effects

Using Masks for Illustration Effects These instructions were written for Photoshop CS4 but things should work the same or similarly in most recent versions Photoshop. 1. To download the files you ll use in this exercise please visit: http:///goodies.html

More information

Step 1: Create A New Photoshop Document

Step 1: Create A New Photoshop Document Snowflakes Photo Border In this Photoshop tutorial, we ll learn how to create a simple snowflakes photo border, which can be a fun finishing touch for photos of family and friends during the holidays,

More information

HAPPY HOLIDAYS PHOTO BORDER

HAPPY HOLIDAYS PHOTO BORDER HAPPY HOLIDAYS PHOTO BORDER In this Photoshop tutorial, we ll learn how to create a simple and fun Happy Holidays winter photo border! Photoshop ships with some great snowflake shapes that we can use in

More information

Recipes4Success. Animate Plant Growth. Share 4 - Animation

Recipes4Success. Animate Plant Growth. Share 4 - Animation Recipes4Success In this Recipe, you will create an animated science diagram of plant growth. You will learn how to add images, draw shapes, use the animation options, preview, and publish your project.

More information

Please answer questions in the space provided. Question point values are shown in parentheses.

Please answer questions in the space provided. Question point values are shown in parentheses. IS 320 Spring 99 Page 1 Please answer questions in the space provided. Question point values are shown in parentheses. 1. (15) Assume you have the following variable declarations and assignments: Dim A

More information

MapWindow Plug-in Development

MapWindow Plug-in Development MapWindow Plug-in Development Sample Project: Simple Path Analyzer Plug-in A step-by-step guide to creating a custom MapWindow Plug-in using the IPlugin interface by Allen Anselmo shade@turbonet.com Introduction

More information

Instructor s Notes Programming Logic Printing Reports. Programming Logic. Printing Custom Reports

Instructor s Notes Programming Logic Printing Reports. Programming Logic. Printing Custom Reports Instructor s Programming Logic Printing Reports Programming Logic Quick Links & Text References Printing Custom Reports Printing Overview Page 575 Linking Printing Objects No book reference Creating a

More information

Start-Up. XAML-Import into ix Developer 2.10 KI Function and area of use. 2 About the Start-up document

Start-Up. XAML-Import into ix Developer 2.10 KI Function and area of use. 2 About the Start-up document Start-Up XAML-Import into ix Developer 2.10 KI00365 2014-09 1 Function and area of use This document explains how to import vector graphics, XAML-components, into ix Developer 2.10. WPF uses vector graphics

More information

SNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC

SNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC Photo Effects: Snowflakes Photo Border (Photoshop CS6 / CC) SNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC In this Photoshop tutorial, we ll learn how to create a simple and fun snowflakes photo border,

More information

Beginning Silverlight 5 in C #

Beginning Silverlight 5 in C # Table of Contents: Chapter 1. Welcome to Silverlight 5 1.1 The Evolution of the User interface 1.2 Rich Internet Application Solutions 1.3 What is Silverlight? 1.4 Benefits of Silverlight 1.4.1 Cross-Platform/Cross-Browser

More information

Workshop BOND UNIVERSITY Bachelor of Interactive Multimedia and Design Beginner Game Dev Character Control Building a character animation controller.

Workshop BOND UNIVERSITY Bachelor of Interactive Multimedia and Design Beginner Game Dev Character Control Building a character animation controller. Workshop BOND UNIVERSITY Bachelor of Interactive Multimedia and Design Beginner Game Dev Character Control Building a character animation controller. FACULTY OF SOCIETY AND DESIGN Building a character

More information

GIMP WEB 2.0 ICONS. GIMP is all about IT (Images and Text) OPEN GIMP

GIMP WEB 2.0 ICONS. GIMP is all about IT (Images and Text) OPEN GIMP GIMP WEB 2.0 ICONS WEB 2.0 ICONS: STICKY NOTE Web 2.0 Icons: Sticky Note GIMP is all about IT (Images and Text) OPEN GIMP Step 1: To begin a new GIMP project, from the Menu Bar, select File New. At the

More information

Tutorial - Hello World

Tutorial - Hello World Tutorial - Hello World Spirit Du Ver. 1.1, 25 th September, 2007 Ver. 2.0, 7 th September, 2008 Ver. 2.1, 15 th September, 2014 Contents About This Document... 1 A Hello Message Box... 2 A Hello World

More information

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

Hands-On Lab. Hello Windows Phone

Hands-On Lab. Hello Windows Phone Hands-On Lab Hello Windows Phone Lab version: 1.1.0 Last updated: 12/8/2010 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING WINDOWS PHONE APPLICATIONS WITH MICROSOFT VISUAL STUDIO 2010 EXPRESS FOR WINDOWS

More information

NE Fundamentals of XAML and Microsoft Expression Blend

NE Fundamentals of XAML and Microsoft Expression Blend NE-10553 Fundamentals of XAML and Microsoft Expression Blend Summary Duration 3 Days Audience Developers Level 200 Technology Microsoft Expression Blend Delivery Method Instructor-led (Classroom) Training

More information

1A Windows Presentation Foundation Explained. Rob Layzell CA Technologies

1A Windows Presentation Foundation Explained. Rob Layzell CA Technologies 1A Windows Presentation Foundation Explained Rob Layzell CA Technologies Legal This presentation was based on current information and resource allocations as of April 18, 2011 and is subject to change

More information

The following are required to duplicate the process outlined in this document.

The following are required to duplicate the process outlined in this document. Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

More information

What is Crocodoc? To Open Crocodoc

What is Crocodoc? To Open Crocodoc What is Crocodoc? Crocodoc is a tool that allows teacher and peer review annotations to be added directly to student submissions of online assignments in Canvas. If Crocodoc cannot convert a submission,

More information

Getting Started. 1 by Conner Irwin

Getting Started. 1 by Conner Irwin If you are a fan of the.net family of languages C#, Visual Basic, and so forth and you own a copy of AGK, then you ve got a new toy to play with. The AGK Wrapper for.net is an open source project that

More information

Introduction. Part I: Silverlight Fundamentals for ASP.NET Developers 1

Introduction. Part I: Silverlight Fundamentals for ASP.NET Developers 1 Introduction xxi Part I: Silverlight Fundamentals for ASP.NET Developers 1 Chapter 1: Silverlight in a Nutshell 3 Uphill Struggle 3 Rich Client or Web Reach? 4 Silverlight Steps In 4 The Impact of Silverlight

More information

Where s the difference?

Where s the difference? NET Where s the difference? Classic App Modern App Installed from anywhere Does anything during installation/update/deinstallation. Can access the whole system during runtime. Can run as admin. No-Supsend-Lifecycle

More information

PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3

PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 INTRODUCTION xix PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 The Life of Windows 3 From Windows 3.1 to 32-bit 4 Windows XP

More information

Building Rich Interactive Applications with Silverlight

Building Rich Interactive Applications with Silverlight Andrew, Dani and Dr. Z MSDN Roadshow development architecture you Maryland Pennsylvania Virginia Washington DC Building Rich Interactive Applications with Silverlight Zhiming Xue Z Architect Evangelist

More information

CISC 1600 Lecture 3.1 Introduction to Processing

CISC 1600 Lecture 3.1 Introduction to Processing CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists

More information

PIC 10A. Lecture 17: Classes III, overloading

PIC 10A. Lecture 17: Classes III, overloading PIC 10A Lecture 17: Classes III, overloading Function overloading Having multiple constructors with same name is example of something called function overloading. You are allowed to have functions with

More information

Add Photo Mounts To A Photo With Photoshop Part 1

Add Photo Mounts To A Photo With Photoshop Part 1 Add Photo Mounts To A Photo With Photoshop Part 1 Written by Steve Patterson. In this Photoshop Effects tutorial, we ll learn how to create and add simplephoto mounts to an image, a nice finishing touch

More information

[MS10553]: Fundamentals of XAML and Microsoft Expression Blend

[MS10553]: Fundamentals of XAML and Microsoft Expression Blend [MS10553]: Fundamentals of XAML and Microsoft Expression Blend Length : 3 Days Audience(s) : Developers Level : 200 Technology : Microsoft Expression Blend Delivery Method : Instructor-led (classroom)

More information

Create an Adorable Hedgehog with Basic Tools in Inkscape Aaron Nieze on Sep 23rd 2013 with 5 Comments

Create an Adorable Hedgehog with Basic Tools in Inkscape Aaron Nieze on Sep 23rd 2013 with 5 Comments Create an Adorable Hedgehog with Basic Tools in Inkscape Aaron Nieze on Sep 23rd 2013 with 5 Comments Tutorial Details Software: Inkscape Difficulty: Beginner Completion Time: 2 hours View post on Tuts+

More information

Lab 7: Silverlight API

Lab 7: Silverlight API Lab 7: Silverlight API Due Date: 02/07/2014 Overview Microsoft Silverlight is a development platform for creating engaging, interactive user experiences for Web, desktop, and mobile applications when online

More information

The Video Game Project

The Video Game Project The Video Game Project The first thing we are going to program is the square on which everything in the game is going to exist. 525 px To do this, we need to use HTML5 canvas. First, we will create the

More information

CS Problem Solving and Object-Oriented Programming

CS Problem Solving and Object-Oriented Programming CS 101 - Problem Solving and Object-Oriented Programming Lab 5 - Draw a Penguin Due: October 28/29 Pre-lab Preparation Before coming to lab, you are expected to have: Read Bruce chapters 1-3 Introduction

More information

*Note that LL Studio can also work in Stand-alone mode with an SD card.

*Note that LL Studio can also work in Stand-alone mode with an SD card. PC System requirements: Operating System : Microsoft Windows XP / Windows Vista / Windows 7 / Windows 8 C.P.U : Intel Pentium IV at 2.0 GHz (or higher) Video Card : 128 MB VRAM Memory : 1 GB RAM Hard Disk

More information

GIMP WEB 2.0 BUTTONS

GIMP WEB 2.0 BUTTONS GIMP WEB 2.0 BUTTONS and and Web 2.0 Navigation: Rounded Buttons WEB 2.0 NAVIGATION: ROUNDED BUTTON MENU GIMP is all about IT (Images and Text) This button tutorial will design four images that will be

More information

Learning VB.Net. Tutorial 19 Classes and Inheritance

Learning VB.Net. Tutorial 19 Classes and Inheritance Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you

More information

4 TRANSFORMING OBJECTS

4 TRANSFORMING OBJECTS 4 TRANSFORMING OBJECTS Lesson overview In this lesson, you ll learn how to do the following: Add, edit, rename, and reorder artboards in an existing document. Navigate artboards. Select individual objects,

More information

Music and Videos. with Exception Handling

Music and Videos. with Exception Handling VISUAL BASIC LAB with Exception Handling Copyright 2015 Dan McElroy - Lab Assignment Develop a Visual Basic application program that is used to input the number of music songs and the number of videos

More information

Summer STEM Academy. VCarve Name Sign Instructions

Summer STEM Academy. VCarve Name Sign Instructions Summer STEM Academy VCarve Name Sign Instructions Follow these instructions to draw your personalized sign on the CNC router in the Woodshop / Manufacturing shop. 1. Log on to your computer and double

More information

animation, and what interface elements the Flash editor contains to help you create and control your animation.

animation, and what interface elements the Flash editor contains to help you create and control your animation. e r ch02.fm Page 43 Wednesday, November 15, 2000 8:52 AM c h a p t 2 Animating the Page IN THIS CHAPTER Timelines and Frames Movement Tweening Shape Tweening Fading Recap Advanced Projects You have totally

More information

Class Test 5. Create a simple paint program that conforms to the following requirements.

Class Test 5. Create a simple paint program that conforms to the following requirements. Class Test 5 Question 1 Use visual studio 2012 ultimate to create a C# windows forms application. Create a simple paint program that conforms to the following requirements. The control box is disabled

More information

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks Unit 21 - Creating a Navigation Bar in Macromedia Fireworks Items needed to complete the Navigation Bar: Unit 21 - House Style Unit 21 - Graphics Sketch Diagrams Document ------------------------------------------------------------------------------------------------

More information

Eastside Literacy Tutor Support Word Processing Tutorial

Eastside Literacy Tutor Support Word Processing Tutorial Eastside Literacy Tutor Support Word Processing Tutorial Before you start, you will need a blank diskette. You will also need to know how to use the mouse and the keyboard, and how to select text on the

More information

Creating a Dynamo with VBA Scripts

Creating a Dynamo with VBA Scripts Creating a Dynamo with VBA Scripts Creating a Dynamo with VBA 1 Table of Contents 1. CREATING A DYNAMO WITH VBA... 3 1.1 NAMING CONVENTIONS FOR DYNAMO OBJECTS...3 1.2 CREATING A DYNAMO...4 1.3 DESIGNING

More information

University of Cincinnati. P5.JS: Getting Started. p5.js

University of Cincinnati. P5.JS: Getting Started. p5.js p5.js P5.JS: Getting Started Matthew Wizinsky University of Cincinnati School of Design HTML + CSS + P5.js File Handling & Management Environment Canvas Coordinates Syntax Drawing Variables Mouse Position

More information

RadPDFViewer For Silverlight and WPF

RadPDFViewer For Silverlight and WPF RadPDFViewer For Silverlight and WPF This tutorial will introduce the RadPDFViewer control, part of the Telerik suite of XAML controls Setting Up The Project To begin, open Visual Studio and click on the

More information

Unit 21 - Creating a Button in Macromedia Flash (simplified)

Unit 21 - Creating a Button in Macromedia Flash (simplified) Unit 21 - Creating a Button in Macromedia Flash (simplified) Items needed to complete the Navigation Bar: Unit 21 - House Style Unit 21 - Graphics Sketch Diagrams Document ------------------------------------------------------------------------------------------------

More information

Macromedia - Fireworks TechNotes: How to create transparent Pop-up Menus

Macromedia - Fireworks TechNotes: How to create transparent Pop-up Menus Page 1 of 6 Home > Products > Fireworks > Support > TechNote Index How to create transparent Pop-up Menus Pop-up Menus can be structured to have transparent or translucent backgrounds. Modifying the Pop-up

More information

Getting Started with Java Using Alice. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Getting Started with Java Using Alice. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved. Getting Started with Java Using Alice Develop a Complete Animation 1 Copyright 2013, Oracle and/or its affiliates. All rights Objectives This lesson covers the following objectives: Use functional decomposition

More information

CorelDRAW: Layers Object Manager Docker Object Manager Docker Window Dockers Object Manager

CorelDRAW: Layers Object Manager Docker Object Manager Docker Window Dockers Object Manager CorelDRAW: Layers Any time you are dealing with a complex vector image, you might need to work with layers, adjust the visibility, or lock a layer so that you can select everything else except that layer.

More information

L E S S O N 2 Background

L E S S O N 2 Background Flight, Naperville Central High School, Naperville, Ill. No hard hat needed in the InDesign work area Once you learn the concepts of good page design, and you learn how to use InDesign, you are limited

More information

Function Grapher Demystified Step 1

Function Grapher Demystified Step 1 Function Grapher Demystified Step 1 MathDL Flash Forum Learning Center Functions Grapher Demystified by Barbara Kaskosz and Doug Ensley In our MathDL Flash Forum article "Flash Tools for Developers: Function

More information

Nebraska - eforms. Tips and Tricks

Nebraska - eforms. Tips and Tricks Nebraska - eforms Tips and Tricks 1) Nebraska eforms is an ASP.Net 4.0 - Silverlight 4 web application created for industry users to submit required regulatory forms electronically. You must have.net Framework

More information

This assignment should give you practice with some aspects of working with graphics and windows in Java.

This assignment should give you practice with some aspects of working with graphics and windows in Java. Assignment 5 Due: Tuesday, July 24 by 11:59 PM Objective This assignment should give you practice with some aspects of working with graphics and windows in Java. Task Write a program utilizing a JDesktopFrame

More information

GIMP WEB 2.0 BUTTONS

GIMP WEB 2.0 BUTTONS GIMP WEB 2.0 BUTTONS Web 2.0 Navigation: Web 2.0 Button with Navigation Arrow GIMP is all about IT (Images and Text) WEB 2.0 NAVIGATION: BUTTONS_WITH_NAVIGATION_ARROW This button navigation will be designed

More information

LAYOUT. Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon

LAYOUT. Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon LAYOUT Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon - 2014 Loading and Compiling XAML (See Codes in your Textbook) There are three distinct coding

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Tower Drawing. Learning how to combine shapes and lines

Tower Drawing. Learning how to combine shapes and lines Tower Drawing Learning how to combine shapes and lines 1) Go to Layout > Page Background. In the Options menu choose Solid and Ghost Green for a background color. This changes your workspace background

More information

DOT.NET MODULE 6: SILVERLIGHT

DOT.NET MODULE 6: SILVERLIGHT UNIT 1 Introducing Silverlight DOT.NET MODULE 6: SILVERLIGHT 1. Silverlight and Visual Studio 2. Understanding Silverlight Websites 3. Creating a Stand-Alone Silverlight Project 4. Creating a Simple Silverlight

More information

Adobe After Effects Tutorial

Adobe After Effects Tutorial Adobe After Effects Tutorial GETTING STARTED Adobe After Effects CC is a video effects software that can be used to create animated graphics and video special effects. Whether you plan to green screen

More information

Introduction to Silverlight

Introduction to Silverlight Fox c01.tex V3-01/30/2009 4:56pm Page 1 Introduction to Silverlight As software development has evolved and the process and end result become more complex and sophisticated, so too has the expectation

More information

1 Getting started with Processing

1 Getting started with Processing cisc3665, fall 2011, lab I.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For

More information

Silverlight. Daron Yöndem

Silverlight. Daron Yöndem Silverlight Daron Yöndem daron@yondem.com http://daron.yondem.com Me.Bio.ToString() -Project Management -Software Development -Technology Evangelism -Allinone! -AJAX -Silverlight -Expression Studio trainings.

More information

Tutorials For 3ds Max

Tutorials For 3ds Max Desk - 3ds Max Modeling Tutorial Tutorials For 3ds Max Tutorials For 3ds Max Desk - 3ds Max Modeling Tutorial Hi everyone. In this 3D modeling tutorial i will show you how to create a Desk using 3d Studio

More information

SPECCTR 3.0. Tutorial + Tips

SPECCTR 3.0. Tutorial + Tips SPECCTR 3.0 Tutorial + Tips Features GLOBAL FEATURES MEASUREMENTS OBJECT TEXT NEW FEATURES ONLY AI ONLY PS ONLY ID Expand Canvas Movable/editable labels Specs organized in layers Multi-spec, spec multiple

More information

Shape Cluster Photo Written by Steve Patterson

Shape Cluster Photo Written by Steve Patterson Shape Cluster Photo Written by Steve Patterson Before After Step 1: Create A New Document Let's begin by creating a new Photoshop document. Go up to the File menu in the Menu Bar along the top of the screen

More information

Fireworks 3 Animation and Rollovers

Fireworks 3 Animation and Rollovers Fireworks 3 Animation and Rollovers What is Fireworks Fireworks is Web graphics program designed by Macromedia. It enables users to create any sort of graphics as well as to import GIF, JPEG, PNG photos

More information

Flash basics for mathematics applets Tutorial 2. Reading input text boxes and writing to dynamic text boxes

Flash basics for mathematics applets Tutorial 2. Reading input text boxes and writing to dynamic text boxes Flash basics for mathematics applets Tutorial 2. Reading input text boxes and writing to dynamic text boxes by Doug Ensley, Shippensburg University and Barbara Kaskosz, University of Rhode Island In this

More information

Trash in the Dock. May 21, 2017, Beginners SIG The Dock (Part 3 of 3)

Trash in the Dock. May 21, 2017, Beginners SIG The Dock (Part 3 of 3) Note: This discussion is based on MacOS, 10.12.4 (Sierra). Some illustrations may differ when using other versions of macos or OS X. Credit: http://tidbits.com/e/17088 ( macos Hidden Treasures: Dominate

More information

THE JAVASCRIPT ARTIST 15/10/2016

THE JAVASCRIPT ARTIST 15/10/2016 THE JAVASCRIPT ARTIST 15/10/2016 Objectives Learn how to program with JavaScript in a fun way! Understand the basic blocks of what makes a program. Make you confident to explore more complex features of

More information

Working with Symbols and Instances

Working with Symbols and Instances Chapter 3 Working with Symbols and Instances Learning Objectives After completing this chapter, you will be able to: Create new symbols Edit the symbols and instances Create and edit button symbols Import

More information

Flash Tutorial. Working With Text, Tween, Layers, Frames & Key Frames

Flash Tutorial. Working With Text, Tween, Layers, Frames & Key Frames Flash Tutorial Working With Text, Tween, Layers, Frames & Key Frames Opening the Software Open Adobe Flash CS3 Create a new Document Action Script 3 In the Property Inspector select the size to change

More information

Developing Desktop Apps for Ultrabook Devices in Windows* 8: Adapting Existing Apps By Paul Ferrill

Developing Desktop Apps for Ultrabook Devices in Windows* 8: Adapting Existing Apps By Paul Ferrill Developing Desktop Apps for Ultrabook Devices in Windows* 8: Adapting Existing Apps By Paul Ferrill Microsoft introduced the Extensible Application Markup Language (XAML) in conjunction with the release

More information

Visual Basic 2008 Anne Boehm

Visual Basic 2008 Anne Boehm TRAINING & REFERENCE murach s Visual Basic 2008 Anne Boehm (Chapter 3) Thanks for downloading this chapter from Murach s Visual Basic 2008. We hope it will show you how easy it is to learn from any Murach

More information

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith Previously We started to build a GUI program using visual studio 2010 and vb.net. We have a form designed. We have started to write the code to provided the

More information