Font Style of Button Control

Discussions related to Visual Prolog
afzaal
Posts: 1
Joined: 13 May 2006 10:59

Font Style of Button Control

Unread post by afzaal » 13 May 2006 11:07

Hi Everybody

I am using Visual prolog 6.3. I want to change font of my button text. Is this possible without changing forms font.

I am new Please help me

regards
AFZAAL

Kari Rastas
Active Member
Posts: 31
Joined: 4 Mar 2000 0:01

Unread post by Kari Rastas » 13 May 2006 12:19

Can't be done with the version 6.3 (could be done with a minor addition in pfc's code). See
http://discuss.visual-prolog.com/viewto ... =form+font

Steve Lympany
VIP Member
Posts: 56
Joined: 31 Mar 2001 23:01

Unread post by Steve Lympany » 13 May 2006 13:11

Hi,
I'm not sure - it may be limited, but this works:

Code: Select all

        Font = vpi::fontCreate(ff_helvetica,[fs_italic,fs_bold],12),         push_button:setfont(Font),
cheers
Steve

hicham
Active Member
Posts: 29
Joined: 3 Apr 2014 8:32

HELP

Unread post by hicham » 14 Apr 2014 10:13

i tried this but it doesn't work, is there any other way to change the style ?
ok

Post Reply