Today's Smalltalk 4 You looks at some of the startup options for VisualWorks (most of which also apply to ObjectStudio now). If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at the upgrades to code completion in VA Smalltalk 8.5.1. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Today we'll go back to code completion in VA Smalltalk - there have been a lot of improvements in the 8.5.1 release. When the video from STIC 2012 is released (check the conference pages regularly), you should definitely watch it. In the meantime, let's open up a workspace and have a look. Notice that we've defined our variables as temps; the code completion support relies on having a valid compilation environment. If you don't have that, you won't see suggestions:
One of the niftier new things is camel case support. Try typing in RWS - you should see suggestions immediately, although you can always hit ctrl-space to get them:
The new support is smart enough to split on the case changes, and match RWS to ReadWriteStream. What's really nice is that it also works for keyword messages, splitting both on case and colons. Try creating an OrderedCollection and then entering aai:
Notice that it matched for messages in the collection hierarchy - the support takes note of the compilation environment, and uses it to give you better answers.
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.
Today's Smalltalk 4 You looks at utilizing OCX controls in WindowBuilder Pro (VA Smalltalk) - we've already looked at using them via the Composition Editor. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Today we'll use WindowBuilder Pro to embed an OCX control into a VA Smalltalk window. Obviously, this support is limited to Windows. To get started, select the OLE controls in the palette, and then select the control:
Double click on the widget to bring up properties; it might take a moment, depending on what you have installed. In clientName, select the control you want to use - the list will vary based on what you have installed on your windows machine. Here, we've selected the Windows Media Player:
To see it work, put in an url for playable media (Video or audio):
Unlike the composition editor, the embedded player starts operating on what you entered immediately. You can also test it:
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.
Today's Smalltalk 4 You looks at ad hoc message construction in Smalltalk. It's a powerful technique, but one that should be used sparingly. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at changing the font used across the tools in VA Smalltalk. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Today we'll use the Composition editor to embed an OCX control into a VA Smalltalk window. Obviously, this support is limited to Windows. To get started, select the OLE folder in the composition editor, and then use the middle control:
Double click on the part you just selected to set properties. In clientName, select the control you want to use - the list will vary based on what you have installed on your windows machine. Here, we've selected the Windows Media Player:
Next, close the properties tool and reopen it. The player will render in the canvas, and its specific properties will become available:
You can specify various control properties; here, we'll set the URL, so that the player opens on some media. In this case, we'll use a podcast mp3 file. Using the test functionality, you can see it work:
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.
Today's Smalltalk 4 You looks at launching an external application (a browser in this example) from a VA Smalltalk application. We'll use the composition editor to build our example app. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Today we'll use the Composition editor to hook up a button in a VA Smalltalk application to an external application - in this case, a web browser that defaults to a specific page. To get started, select the external applications folder in the tool, and then use the external application icon. Drop an instance outside the bounds of the window, as we are going to connect a window component (button) to it:
Double click on the part you just selected to set properties. Use the "find" button to locate the application that will be launched. Note that you can specify a parameter string; here, we'll use an url:
Here we have everything specified:
Now, put a button on the canvas, and connect that to the "start program" aspect of the external application:
If you set it all up correctly, you should see something like this when you use the test functionality and click the button:
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.
Today's Smalltalk 4 You looks at handling the MessageNotUnderstood exception - by implementing #doesNotUnderstand:. It's a dangerous thing to do, but can sometimes be useful. Today we use a trivial example to demonstrate. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at embedding a standard windows app (WordPad in this case) into a VA Smalltalk window. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Today we'll use the VA OLE support to embed a Windows application into a VA Smalltalk window. We'll use a standard editor - WordPad. To get started, open the VA Organizer, create a new application and part, and add in an OLE client control (To see those steps, refer to this tutorial.
Double click on the client part, scroll down to "clientName", and select one of the available options from the drop down. THe list will vary based on what you have installed on your system; we'll pick WordPad, which should always be available:
Next, we'll change decorationPolicy and focusDecorationPolicy to XmNONE - this will remove any application borders, embedding the tool completely into our window:
Finally, go to File>>Test, and see the embedding in action:
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.
Today's Smalltalk 4 You starts looking at OLE interfaces in VA Smalltalk, starting with something very simple - a graphics pane on a bitmap. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Today we'll start looking at using OLE components in VA Smalltalk - starting off with the simplest example possible: using the graphics control to display a bitmap graphic. First, load the OLE support (VA OLE support) from the features tool:
Next, open up the VA Organizer and create a new application and (visual) part:
That will take you to the composition editor. On the lower left side of the tools section, you should see a new "OLE" category. Select that, and then pick the first (OLE Client) control from the list:
Right click on the part, and go to settings. Towards the bottom, you should see "sourcePath". We are going to hit the chooser, and select the BMP file to drop in here.
It should render immediately:
Finally, go to the File menu and select "Test". You should see your graphic in a new window:
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.