Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How to make small controls on Mac OS X?
'/*'* Use the control's default drawing variant. This does not apply to'* Scroll Bars, for which Normal is Large.'*/const kControlSizeNormal = 0'/*'* Use the control's small drawing variant. Currently supported by'* the Check Box, Combo Box, Radio Button, Scroll Bar, Slider and Tab'* controls.'*/const kControlSizeSmall = 1'/*'* Use the control's small drawing variant. Currently supported by'* the Indeterminate Progress Bar, Progress Bar and Round Button'* controls.'*/const kControlSizeLarge = 2'/*'* Control drawing variant determined by the control's bounds. This'* ControlSize is only available with Scroll Bars to support their'* legacy behavior of drawing differently within different bounds.'*/const kControlSizeAuto = &hFFFFconst kControlSizeTag = "size"declare function SetControlData lib "Carbon" (controlhandle as Integer, part as short, tagname as OSType, size as Integer, data as ptr) as shortdim m as MemoryBlockm=NewMemoryBlock(2)m.UShort(0)=kControlSizeSmallTitle=str(SetControlData(CheckBox1.Handle, 0, kControlSizeTag, 2, m))