Default Photon focus and arm behaviour

Hello.

I would like to turn off the default Photon behaviour when
widgets are armed and given focus.

When PtText and/or PtButton widgets get focus the text in the widget
is underlined in blue. How can I disable this?

When a PtButton is armed the arm image is loaded and the image is
shifted
down and to the right. How do I diasble the moving of the image?

Are these per widget parameters or global Photon settings?

Thanks,

Michel Benoit

Saab Communication Systems
Stockholm, Sweden

Michel Benoit wrote:

Hello.

I would like to turn off the default Photon behaviour when
widgets are armed and given focus.

When PtText and/or PtButton widgets get focus the text in the widget
is underlined in blue. How can I disable this?

When a PtButton is armed the arm image is loaded and the image is
shifted
down and to the right. How do I diasble the moving of the image?

Are these per widget parameters or global Photon settings?

Thanks,

Michel Benoit

Saab Communication Systems
Stockholm, Sweden

In text or button widget, set resource ( Pt_ARG_UNDERLINE_TYPE ) to be
Pt_NO_ULINE.

When draw a button image, you MAY set margin height, margin width to be
zero, and the image size
is the size of the button. For example, a button of size 50 x 50, you
button image size is also 50x50.

Hope this is helpful.

WeiBing Tong
Montreal, QC
Canada H3A 2E6