I've just decided that I want a comboBox to choose fields by which to sort a table. So I want to sort Asc or Desc. The easiest way to present that is to use the triangles facing up or down like File Explorer "▲" and "▼".
I found these two characters in CharMap and pasted them into my code where the values would be tested and they show up there just as expected.
Unfortunately in the application, on desktop or device, the arrows show up as default empty rectangles.
Is there any way of getting the appearance that I want in the comboBox?
The display of the special characters depends on the font used.
With the standard font on my desktop, with XP, the characters are not displayed.
With "Arial" it's OK on the desktop but not on the device.
With "Tahoma" it's OK on the device but not on the desktop.
On my old Qtek9090 with WM2003, my test program didn't show the arrows.
Then I copied the arial.ttf font file from my labtop computer to the \windows\fonts folder of the device and now, in the test program, the arrows are shown when selecting the Arial font with the radiobutton.
Then I copied the arial.ttf font file from my labtop computer to the \windows\fonts folder of the device and now, in the test program, the arrows are shown when selecting the Arial font with the radiobutton.
Thanks again Klaus, I must admit I was very sceptical, considering that my device already thinks it has Arial, and I found that the Arial.ttf on my XP PC could not be copied!
But I found a copy at rapidshare.com, downloaded, copied to PPC and now choosing Arial shows the arrows!
So I guess I am going to have to add FormLib to the program's repertoire...
Yes, of course, you must add the FormLib to be able to change the font type.
I can't copy the arial.ttf file directly with copy and paste either, but I could drag it from the labtop to the SD card and on the device copy it from the SD card to the \windows\fonts folder.