FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to use TActivex from WorkShop Resources?
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
How to use TActivex from WorkShop Resources?
Posted: Mon Jan 01, 2007 05:22 PM

Hi,

What WS control to use to run activex in resources?

thanks

Posts: 58
Joined: Fri Oct 07, 2005 06:30 AM
Re: How to use TActivex from WorkShop Resources?
Posted: Mon Jan 01, 2007 06:37 PM
In the source:

   DEFINE DIALOG oDlg RESOURCE "GRAPH"
      oChart := TActiveX():Redefine( 101, oDlg, "RMChart.RMChartX" )
      ...
   ACTIVATE DIALOG oDlg CENTER


In the resource file:

   GRAPH DIALOG 226, 82, 333, 234
   STYLE 0x4L | WS_POPUP | WS_CAPTION | WS_THICKFRAME
   CAPTION "Grafico"
   FONT 6, "MS Sans Serif"
   {
   CONTROL "", 101, "TActivex", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 1, 1, 332, 196
   }


Regards
Pier Luigi
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
How to use TActivex from WorkShop Resources?
Posted: Tue Jan 02, 2007 11:54 AM

Ok

This examples is very important. I will be use the RMChart Activex too.

Thanks

Continue the discussion