Send to Printer

st4u

ST 4U 228: Using OCX Controls in VA Smalltalk

May 4, 2012 10:52:20.699

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:

OCX.

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:

OCX 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:

windows media

Next, close the properties tool and reopen it. The player will render in the canvas, and its specific properties will become available:

properties

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:

playing

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.

Technorati Tags: , ,

Enclosures:
[st4u228-iPhone.m4v ( Size: 4003050 )]

posted by James Robertson

 Share Tweet This