Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to change icon and caption in main PRG

Status
Not open for further replies.

PeriyurParthi

IS-IT--Management
Jul 18, 2001
258
IN
hi all
iam using prg in my project as a main window, is there any way to change the icon and caption in main prg. My another problem is i have a menu which is displaying all my company names say a,b,c,d. while entering i use to select the company, whcih i have a separate path and databses for each company. Inside my menu i have an option of to changeing the company, suppose if i do that iam unable put the company name and address in the main form, even varaibles are public. note that iam not useing any forms in the project...
pls help
thanks parthi
 
Hi Parthiban,

WITH _screen
.WindowState=2
.TitleBar=1 && 0 if no title Bar required
.BackColor=RGB(0,128,128)
.FillStyle=1
.Icon="fox.bmp" && or myBmp .. Copy BMP in default dir
.Caption = "My Application Name or Company Name"
ENDWITH

You can issue these commands at the beginning of the main.prg
Hope this helps.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top