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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PUT A TICK in MSFLEXIGRIG COLUMN CHR(251) 2

Status
Not open for further replies.

PeterWallace

Programmer
Apr 28, 2003
210
AU
I fill a flexigrid with data

one of the columns is eMpty ( actually a space )

on selecting tthe row and Double click I would like to
place a TICK CHR(251) in the column ( if Aready TICK toggle a space )

unfortunatly I can not get chr(251) to display as a Tick

get a U with amulet !

Anyboby got Idea what is correct character, or how I can do this ?

Have done for i = 1 to 255 : debug.print chr(i) : next

no TICK shown

Peter
 
Peter,

You need to specify a font which includes the tick character eg.

Private Sub Command1_Click()

Command1.FontName = "WingDings"
Command1.FontSize = 20
Command1.Caption = Chr$(252)

End Sub

To check for presence of symbols in various fonts you should check out the Windows Charmap utility via Start button - Run - Enter "Charmap".

regards Hugh.
 
Another method is to have an image of the 'tick' (checked)set the .cellpicture property of the specific cell. You may need a second image for the unchecked state of the data.

Serach for 'cellpicture' for more information

zemp
 
Thank s to both of you


will use Hugh's suggestion here .... but zemps in another


where toggling on and off Hughs is faster


Peter
 
you have carefull, because, when you have select on/off the simulate toggle, on win98 have the cellpicture one value and winxp another value.....
 
sitmapa

will test that out .... some users will be using 98


fortunatly have just started bit where using cellpicture

if is give problem will use font option


Thank you for pointing out a potential head banger situation .....

Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top