I just started playing with Purebasic and I encounter my first noobie issue;
I have a text gadget that displays the path of the selected file/directory in a tree explorer gadget
Everything works great except the path displayed looks weird because the path separator looks like a W with a line across it.
here is a screenshot.
http://www.flickr.com/photos/74574276@N08/6711201417/
Any help will be appreciated.
Windows 7 32-bit.
Path separator issue
Re: Path separator issue
Can you post your code between "" marks?
Code: Select all
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Path separator issue
I used the example in the Help file, and it will properly display in the TitleBar:
I, too, am on w7-32, so as suggested, maybe you should post your code.
Code: Select all
InitialPath$ = "C:\" ; set initial path to display (could also be blank)
Path$ = PathRequester("Please choose your path", InitialPath$)
If Path$
MessageRequester("Information on " +Path$, "You have selected following path:"+Chr(10)+Path$, 0)
Else
MessageRequester("Information", "The requester was canceled.", 0)
EndIf
Re: Path separator issue
Welcome aboard!
It looks like you are using a Chinese or Japanese font... Change the font to a standard one like Arial, and see if the problem persists. What is the name of the font you are using there?
It looks like you are using a Chinese or Japanese font... Change the font to a standard one like Arial, and see if the problem persists. What is the name of the font you are using there?
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
-
- New User
- Posts: 9
- Joined: Sun Oct 04, 2009 10:58 pm
- Location: Trying to jump the border into USA
Re: Path separator issue
Yes, it was the font!!!
I had the following:
I changed it to Arial and it works!!
Thanks guys.
I had the following:
Code: Select all
LoadFont(0,"Batang",12,#PB_Font_Bold)
Thanks guys.