#command Syntax

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

#command Syntax

Post 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 1537 times
have fun
Jimmy
Post Reply