Page 1 of 1

#command Syntax

Posted: Fri Oct 18, 2019 6:20 am
by AUGE_OHR
hi,

when have a Method using Xbase++ Syntax like this

Code: Select all

METHOD XbpPBar:SetMaximum( nMaximum )
i can use

Code: Select all

   #xcommand METHOD <!ClassName!>:<MethodName> => METHOD <MethodName> CLASS <ClassName>
to change it to harbour Style

now when have this Code how to enhance it to harbour Syntax :?:

Code: Select all

CLASS XbpPBar FROM XbpIWindow, DataRef

   PROTECTED:
      VAR nMaximum
      ... 
   EXPORTED:
      ASSIGN METHOD SetMaximum() VAR Maximum
      ACCESS METHOD GetMaximum() VAR Maximum
      ... 
ENDCLASS

METHOD XbpPBar:SetMaximum( nMaximum )
...
who can help me to translate it :?:

p.s. this Progressbar also have ITaskbarList3 Interface to display Animation in Taskbar-Icon
iTaskBarList_Progress.jpg
iTaskBarList_Progress.jpg (2.64 KiB) Viewed 2043 times