Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@...GET - Padding on button captions
Message
 
To
02/08/2007 16:02:55
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01245657
Message ID:
01245664
Views:
15
Jay,

I think your captions are padded, but the problem is that the space, in Arial as in many non proportional fonts, is smaller than the chars, try for example
* Add Appointment, Next Open and Cancel buttons
@ 7,2 GET cmd_Next_Open ;
	FONT "Arial", 9 ;
	STYLE "B" ;
	FUNCTION "*NH  'Add Appointment' ;'   Next Open     ';'     Cancel      '" ;
	SIZE but_height, 12 ;
	COLOR ,,,,,,,,&Control_Color,&Disabl_Color ;
	VALID v_cmd_Next_Open()
You'll see almost the same size of the buttons compared with yours (they do not have the same size among them)

>I can't seem to pad any spaces around the captions of the buttons. Or at least the result doesn't display with padding. Whassup with that? Do I just need a lot more because I'm using a proportional font?
>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform