Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

"chr " questions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2010, 07:27 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default "chr " questions

Hello. There is a little problem with my device - "&" character is missing on the
keyboard. I have tried chr(38) -no success
Is there the right way to substitute the ampersand?

And one more thing.... How can I type small digits indicating power?All I have found
is chr(178) "2" and chr(179) "3".

Thank you.
Reply With Quote
  #2 (permalink)  
Old 07-05-2010, 07:48 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41є11'30.30" W 8є39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Wich is your device?
All soft keyboard have the complete set os characters....
Have you tried the shift+6 combo?
have you checked in the numeric portion of the keyboard...
have you checked in the "special" accented characters portion of the keyboard..usually these two are accessed by a defined key in the keyb... ie, the numeric portion, should be represented by a 123 button...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 07-05-2010, 08:02 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default

My device is Rover, a cheap one manufactured in Russia. I am pretty sure there
is no ampersand on my device's native keyboard yet plenty of needless char on it.
I believe it's just on of the several glitches I have to suffer.
I had some keyboards installed but after the trial period is expired they are disabled.

Anyways...what's the use of Chr(38) I wonder?
Reply With Quote
  #4 (permalink)  
Old 07-05-2010, 11:18 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 614
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Nicolas,

Quote:
what's the use of Chr(38)?
This will add the & symbol to a string for example...
MsgBox( "This " & Chr(38) & " That")
Would give a message box displaying... This & That

It's not a very good example as you would obvioulsy have written as...
MsgBox("This & That")
to start off with but hopefully you get the idea.


As for your Rover Windows Mobile phone, I'm certain like Cableguy that it will have the ampersand included in the symbols. It's just a matter of finding it.
Possibly this link will help Интернет-магазин RoverPC, Смартфоны, Коммуникаторы, Карманный компьютер. (Don't know why it's displaying like this but it's the RoverPC support page) if nothing else you may be able to request a manual for your device if you don't already have one.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #5 (permalink)  
Old 07-06-2010, 05:58 AM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default

Quote:
MsgBox( "This " & Chr(38) & " That")
Quote:
It's not a very good example as you would obvioulsy have written as...
MsgBox("This & That")
to start off with but hopefully you get the idea.
I have tried those and other ways before

& Chr(38) & - doesn't work without ampersands - ......Chr(38)
makes the entire thing needless

As to the keyboard, I queried a RoverPC forum....I'll what they say

Regards
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catching the "Shift", "right" & "left" keys linum Questions (Windows Mobile) 3 08-21-2009 02:22 PM
calling the device's "Programs" or "settings" screens karmba_a Questions (Windows Mobile) 3 03-15-2009 06:41 PM
"AddEvent" and "buttonUp/buttonDown" Byak@ Questions (Windows Mobile) 12 09-10-2008 04:04 PM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 03:59 AM
On of my "stupiest" questions.... Cableguy Questions (Windows Mobile) 13 12-01-2007 03:32 PM


All times are GMT. The time now is 10:12 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0