WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Samples

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Trade Mark Symbol in Dialog


Question:

Is it possible to mix fonts within a single DROPLISTBOX line? Trying to show an outside program name in the list, so wanted to add 'TM' after the name --- smaller, different font. Assuming there's no way to put a logotype .bmp into the list, right?

Answer:

Num2Char(153) seems to work
MyVariable1 = StrCat("WinBatch",Num2char(153))

MyDialogFormat=`WWWDLGED,6.1`

MyDialogCaption=`WIL Dialog 1`
MyDialogX=002
MyDialogY=053
MyDialogWidth=408
MyDialogHeight=252
MyDialogNumControls=003
MyDialogProcedure=`DEFAULT`
MyDialogFont=`DEFAULT`
MyDialogTextColor=`DEFAULT`
MyDialogBackground=`DEFAULT,DEFAULT`
MyDialogConfig=0

MyDialog001=`113,238,033,010,PUSHBUTTON,DEFAULT,"OK",1,1,32,DEFAULT,DEFAULT,DEFAULT`
MyDialog002=`262,238,033,010,PUSHBUTTON,DEFAULT,"Cancel",0,2,DEFAULT,DEFAULT,DEFAULT,DEFAULT`
MyDialog003=`103,065,117,059,DROPLISTBOX,MyVariable1,DEFAULT,DEFAULT,3,DEFAULT,DEFAULT,DEFAULT,DEFAULT`

ButtonPushed=Dialog("MyDialog")


exit

Article ID:   W16427
File Created: 2005:02:18:12:20:28
Last Updated: 2005:02:18:12:20:28