Site icon Python GUI

How To Use The Value Property For Actions and Parameters

How To Use The Value Property For Actions and Parameters

We use the Value property to set or specify any actions or parameters in the DelphiVCL library while using the IDE software.

Here is the working example of Value with CanSelect parameter:

[crayon-6632e96a11ee1133402089/]

In the example above, we set the CanSelect parameter to False to prevent the cell in DrawGrid creation from being selected.

And here is the working example of Value with the Action parameter:

[crayon-6632e96a11eea714909671/]

In the example above, we set the Action parameter to caFree to close the MainForm and freeing all allocated memory for the form.

 

See the complete code here.

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Exit mobile version