Page 1 of 1

[Module] CanvasEx - Module (all OS)

Posted: Mon May 09, 2022 12:51 pm
by Thorsten1867
CanvasEx - Module (all OS / 64Bit / DPI)

Extensions for the CanvasGaget
  • Add (draws) ScrollBars
  • Add AutoResize for the CanvasGadget
  • Add mouse events to an area of the CanvasGadget

Code: Select all

; CanvasEx::AddEventArea()     - Adds an event area to the CanvasGadget
; --------------------------------------------------------------
; CanvasEx::AutoResize()      - Adds AutoResize to CanvasGadget
; --------------------------------------------------------------
; CanvasEx::ScrollBar()         - Adds ScrollBars to CanvasGadget
; CanvasEx::SetScrollBar()     - Defines Minimum, Maximum and PageLength
; CanvasEx::GetItemAttribute() - Gets Scrollbars attributes [Item: #Horizontal/#Vertical]
; CanvasEx::HideScrollBar()    - Hides ScrollBar(s) [#Horizontal|#Vertical]
; CanvasEx::SetItemAttribute() - Sets Scrollbars attributes [Item: #Horizontal/#Vertical]
; CanvasEx::GetState()         - Gets ScrollBar position [Type: #Horizontal/#Vertical]
; CanvasEx::SetState()         - Sets ScrollBar position [Type: #Horizontal/#Vertical]
; --------------------------------------------------------------
; CanvasEx::GetAttribute()     - Gets Attribute for Canvas or Scrollbars [#Width/#Height or #Size/#Delay]
; CanvasEx::SetAttribute()     - Sets Attribute for both ScrollBars [#Size/#Delay]

Re: [Module] CanvasEx - Module (all OS)

Posted: Mon May 09, 2022 3:35 pm
by Thorsten1867
Update:
  • CanvasEx::AddEventArea() - Add mouse events to an area of the CanvasGadget