Hot News of Arctica

This forum is for eXpress++ general support.
Message
Author
c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Hot News of Arctica

#11 Post by c-tec »

Hello,
forgot to mention: without Rogers eXpress++, I would have changed the develeopment system years ago, never found something better than this. Sad that it is not available for harbour, I am shure that we would have not alle this problems.
regard
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Hot News of Arctica

#12 Post by rdonnay »

Rudolf -

What problems are you having with ActiveX?

Till Warweg is very responsive to any of these issues.
I have not yet found an ActiveX control that I cannot use.

Roger
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Hot News of Arctica

#13 Post by Auge_Ohr »

rdonnay wrote:What problems are you having with ActiveX?
it does work with IDispatch ONLY
createObject is "compatible" but Automation Object are not "compatible" (oCal:Dialogs := oDialog)
Data Type Array as Collection might have Problem like WMI on Vista/Win7
no STRUCTURE Type http://msdn.microsoft.com/en-us/library ... 85%29.aspx
AutomationTranslateColor() often return Nonsense (16777216 -> {0,0,0} )
Presentation Parameter XBPSYSCLR_TRANSPARENT is not "compatible" -> black Rectangle

undocumented
:UserEvents := .F. often need if you can´t "move" Window with activeX (e.g. RTF, CommandBars)
:UseGUIthread := .F. when using Thread or activeX run in it´s own Thread ( CJ Calendar )
:ReCreateHandle := .F. if after :hide() you can not :show() activeX like MscomCtl Listview()

and SPEED ... same Code using "other" Compiler run 400% faster ( Mappoint, WMP , CJ Calendar )
rdonnay wrote:I have not yet found an ActiveX control that I cannot use.
Codejock Calender Dialog or Resources
IMAPI burning CD / DVD
MsCal BOLD Day
or simple Sysmon.ocx are some of them.

i did start a Thread in German Xbaseforum http://www.xbaseforum.de to make a List of activeX and what Problem it make with Xbase++
greetings by OHR
Jimmy

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Hot News of Arctica

#14 Post by c-tec »

Hello Roger,
I would like to implement CocdJock as soon as possible, and when I look at Jimmys problems with ActiveX I think it is better to wait. Have you successful implemented CodeJock in eXpress++ ? there are only a few messages on the XCodeJock section here. I think Jimmys whishlist could also be helpful for your XCodeJock project.
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Hot News of Arctica

#15 Post by skiman »

Hi Roger,

I agree that the activex are working, but I think that you must admit that a lot of them aren't working 100%. If I check the Codejock components, a lot of them aren't usable, because of little problems.

The use of a font for the pushbutton and some other components are still a problem. This is something in Xbase and not in Codejock.
Best regards,

Chris.
www.aboservice.be

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Hot News of Arctica

#16 Post by Auge_Ohr »

skiman wrote:The use of a font for the pushbutton and some other components are still a problem. This is something in Xbase and not in Codejock.
hm ... can you please tell more ?
did you use Presentation Parameter or Font Object ?

Code: Select all

FUNCTION HX_PresPara(oObj)
...
   iMax := LEN(oObj:aPres)
   FOR i:= 1TO iMax
      nKonstant := oObj:aPres[i,1]
      xValue    := oObj:aPres[i,2]
      DO CASE
...
      CASE nKonstant = XBP_PP_FONT
         IF IsMemberVar(oObj,"Font")
            // es ist ja schon ein Font !!!
            oObj:setFont(xValue)
         ENDIF

      CASE nKonstant = XBP_PP_COMPOUNDNAME
         IF IsMemberVar(oObj,"Font")
            oFont  := xbpFont():new()               // Font-Objekt und
            oFont:create()                          // Font erzeugen
            oFont:configure(xValue)
            oObj:setFont(oFont)
         ENDIF
   OTHERWISE
greetings by OHR
Jimmy

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Hot News of Arctica

#17 Post by skiman »

Hi Jimmy,

It is with a font object. Roger had this problem is the cj_pushbutton class.

In my application I solved it by converting the caption and font parameter to a markup text. I posted my code some time ago.
Best regards,

Chris.
www.aboservice.be

Post Reply