Navigation: Ultimate Suite for PowerBuilder Help > PowerCard >

Properties

Send comments on this topic.

 

The following properties can be set in the PB IDE. If you change any at run time, you will need to call the controls SetRedraw(TRUE) function.

Int CornerRadius
Default: 6

Determines how rounded the corners of the card will be. The higher the number, the more round.


String Image
Default: Empty string

The image to display in the card. This will be the file name of the image.


Boolean ImageFullHeight
Default: FALSE

The card image can display the full height of the card if this is set to TRUE. By default, the image does not cover the lower, text portion of the card.


String Theme =
Default: "BLUE"

The Theme property is currently not used.


Int TextAreaHeight
Default: 90

The pixel height of the text area displayed at the bottom of the card. Increase this value to increase the amount of space given to the text area. To limit the amount of space used, decrease the value. For example, to just display the header portion of the text, set the value to 50.


String HeaderText
Default: Empty string

The text that will display in the header portion of the card.


String HeaderFont
Default: "Segoe UI"

The font used for the HeaderText.


Int HeaderFontSize
Default: 14

The font size of the HeaderText.


ULong HeaderFontColor
Default: 0

The text color of the HeaderText. Default is 0, Black. To change this value, you'll need to determine the RGB value of the color you want to use.


Boolean HeaderFontBolded
Default: FALSE

Determines if the HeaderText displayes bolded or not.


String DescriptionText
Default: Empty string

The text that will display in the text portion of the card (immediately below the HeaderText).


String DescriptionFont
Default: "Segoe UI"

The font used for the DescriptionText.


Int DescriptionFontSize
Default: 10

The font size of the DescriptionText.


ULong DescriptionFontColor
Default: 0

The text color of the DescriptionText. Default is 0, Black. To change this value, you'll need to determine the RGB value of the color you want to use.

 


Copyright © 2021 Werysoft Inc.