PDA

Click to See Complete Forum and Search --> : A Few Questions


Insane Killa
Nov 30th, 1999, 03:16 AM
This These Questions will probably make me dumb but I've never knowm the answer so I'll ask anyway

1. how do you change the size of your font?

Ok Now The Second One
2.How Do You Make The Forms BG Transperant?

3. How Do You Change The Color Of A Command Button?

4. How Do You Get Your Program To Create A New File That Will Work With Your Program And Have An Extion For example insanekilla.insane? I've made a program create a file before but it had no file extension and it was alot of coding I just want a reasonbly short code for this.

Well Thats All

Thanx

MicahCarrick
Nov 30th, 1999, 03:23 AM
To change a font just do

control.font = "Arial"


or whatever your control name and desired font are.
To change a command button's color, you must set it's style property to Graphical, then the background property will take effect.

Assosiating filetypes to your program can be done using alot of registry code, at least that's how I've always done it. No short way to my knowledge.

Good Luck.

------------------
Micah Carrick
Ordinary joe with a new found passion for code.
http://micah.carrick.com
micah@carrick.com