Hi all,
I'm new to REALbasic. I have one staticText and one button. staticText contains the path like: Mac Mini HDD: Library: Fonts: Chalkboard.ttf. When I clicking the button I need to open a browser to the actual location of the path with the file (Chalkboard.ttf) as selected. How can I do this ?
I tried it like this
Dim f as FolderItem
Dim fname as new FileType
fname.Name= me.txt_path.Text
fname.MacType = "TFF"
fname.Extensions = ";"
f= GetOpenFolderItem(fname)
But it selects only the Font folder not the Chalkboard.ttf
How can I solve this?
Thanks in advance
I'm new to REALbasic. I have one staticText and one button. staticText contains the path like: Mac Mini HDD: Library: Fonts: Chalkboard.ttf. When I clicking the button I need to open a browser to the actual location of the path with the file (Chalkboard.ttf) as selected. How can I do this ?
I tried it like this
Dim f as FolderItem
Dim fname as new FileType
fname.Name= me.txt_path.Text
fname.MacType = "TFF"
fname.Extensions = ";"
f= GetOpenFolderItem(fname)
But it selects only the Font folder not the Chalkboard.ttf
How can I solve this?
Thanks in advance