Quantcast
Channel: TamsPalm - the Palm OS / web OS Blog » Sample code
Viewing all articles
Browse latest Browse all 10

Invalid Insertion Point Position via FldSetFocus – what to do

$
0
0
The code below has worked well on all handhelds I ever put my paws on – but failed miserably on the simulator: case frmOpenEvent: createLVL(); FrmDrawForm(pForm); StrCopy(vars.msg1,"Action!!"); vars.msg1_framestolive=MSG_LIFETIME; lasttic=TimGetTicks(); FrmSetFocus(pForm,FrmGetObjectIndex(pForm,FldShadow)); //allows GSPDA T9 keys to function handled = true; break; The simulator gave an alert along the lines of “Invalid insertion point” – WTF? The [...] Related posts:
  1. How to print integers, etc into a field
  2. Finding out when a field changes
  3. A very strange StrPrintF crash

Viewing all articles
Browse latest Browse all 10

Trending Articles