#command Syntax

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
Posts: 808
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 116 times
Been thanked: 203 times

#command Syntax

Post by AUGE_OHR »


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

      VAR nMaximum
      ASSIGN METHOD SetMaximum() VAR Maximum
      ACCESS METHOD GetMaximum() VAR Maximum

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 (2.64 KiB) Viewed 389 times
have fun

Post Reply