On Fri, Dec 15, 2000 at 09:11:42AM -0800, Seeley, Steve E wrote:
> I'm working with a multi-column table. In the form event handler, if a
> tblEnterEvent occurs for any column > 1 (All columns except the 1st two.),
> I set the focus to column 1 using TblGrabFocus(). I can then enter
> characters programmically or through the UI with no problem.
>
> However the cursor doesn't appear until I enter a character through the
> UI. Programmically entering characters into column doesn't make the
> cursor appear/blink either. I've tried FldSetInsPtPosition(),
> FldSetDirty() with FldDrawField() together, FldSendChangeNotification()
> with FldDrawField() and TblSelectItem(). Nothing seems to get the cursor
> to appear until a characters has been entered through the UI.
>
> How can I get the cursor to appear?
Try using FrmSetFocus() w/ the object index of the field in which you
want the cursor to appear. I've done this w/ generic fields in a
form, not specifically in a table, but I don't see why that would
matter...
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/