ComponentOne True DBInput Pro 8.0
Now Property (Key)

Syntax

object.Now= string

Read/Write at run time. Not available at design time.

Values

{F3} is the default

Remarks

Sets/returns the shortcut key. A maximum of five keys can be set in the Now property. When setting multiple keys, use a comma (",") as a delimiter. There are keys that are used by Windows, such as [F10], [Ctrl]+[C], and so on, which will not function as the user may expect if assigned to the control.

In this example, current system date would be retrieved when [F2] or [Ctrl]+[A] is pressed:

Calendar.Key.Now = "{F2}, ^{A}"

When the ReadOnly property is set to True, although the keys assigned to this property are pressed, the contents of the control will not be changed.

This property was named KeyNow in the previous versions.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback