WITH object
[statements]
END WITH
Description
WITH allows you to do a series of operations on an object without having to name the object each time. Windows CE 4.0 and later only.
Example
AddObject "CommandButton","CB",124,60,108,21
With CB
.FontBold = True
.Caption = "Tap Me!"
.FontItalic = True.
End With
Output
(CommandButton that says "Tap ME!" in bold italics)
Related Items
CLASS