RE: FrmDoDialog () vs. button click

2002-07-11 Thread Kapil Konde
Why don't U use FrmGoToForm(formPtr) instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 11, 2002 3:01 PM To: Palm Developer Forum Subject: FrmDoDialog () vs. button click hi all In one of my applications I'

RE: An integer field with repeating buttons

2002-07-09 Thread Kapil Konde
You can put two buttons which will act as repeating buttons for you. Put some image on these buttons to look like scrollbar arrows and update the field in the event handlers for these button clicks. Regards, Kapil. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On B

RE: Scroll bar

2002-07-09 Thread Kapil Konde
You will need to handle sclRepeat event. In the event handler code get the value of scrollbar. Then call the function (FldScrollfield) to scroll the text in the field. Hope this will help :P Regards, Kapil. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf O

Horizontal Scrollbar

2002-07-03 Thread Kapil Konde
Hi All, I want to have a horizontal scrollbar for the text field. but in the documentation it is suggested that horizontal scrollbar is not available in PalmOS. Can anybody please guide me as in what should I do if I want to have a horizontal scrollbar for the text field. Or is there any

RE: To simulate a password type text box

2001-07-10 Thread Kapil Konde
Search the forum there were some messages regarding this. You need to implement custom font containing all chars as * and use it for your password field. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Priti Sent: Wednesday, July 11, 2001 10:31 AM To: Pal

RE: How to do serial communication using emulator

2001-07-09 Thread Kapil Konde
Make sure no other app like hotsync or hyperterm is running. This prevent emulator from doing serial communication. Also you need to connect the serial port of the pc on which you are running Emulator to some other pc to test your app. It will not work if you are trying it on a single PC. :) Regar

RE: Help me on Serial communication

2001-07-04 Thread Kapil Konde
do a SrmReceiveWait first before checking for data. It will wait till specified bytes arrive on serial port in specified time. Then check for available bytes. Hope this helps you... regards, Kapil. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of priyesh

RE: concatenate an integer to a string

2001-06-27 Thread Kapil Konde
Use StrIToA function for converting your integer to string. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of new Sent: Thursday, June 28, 2001 3:43 AM To: Palm Developer Forum Subject: concatenate an integer to a string Hi guys .. i know this is a reall

RE: Problem in providing noneditable but scrollable field

2001-06-21 Thread Kapil Konde
You need to implement scrollbars yourself for text fields. You then handle scrollbar events and scroll the field in the same manner you have done it for editable text fields. Please take a look at scrollbar example available at www.falch.net Regards, Kapil. -Original Message- From: [EMAI

Error DmWriteCheck failed

2001-06-12 Thread Kapil Konde
Hi, I have a noneditable text field on my form. When I click in the textfield and write any charactor using graffiti it gives me error "Error DMWriteCheck failed" . And then I require to reset my Palm. How do I solve this problem. Regards, Kapilk. -- For information on using the Palm D

RE: Please fix my penX and penY code.

2001-06-11 Thread Kapil Konde
You are passing same point values for start point and end point of line. You should rather have somewhere your last coordinates saved and after pen is moved you draw a line from last pen position to the current pen position... Also declare your variables of type Coord so it will no

Error during linking

2001-06-08 Thread Kapil Konde
Hi all, I am using Falch.net devstudio for developing my app. When compiling my application gives the following error. I do not why this error is coming and how do I solve it. Linking... /prc-tools/H-i586-cygwin32/m68k-palmos/bin/ld: region datares is full (Release/PalmCli

RE: Managing events

2001-06-08 Thread Kapil Konde
Subject: Re: Managing events "Kapil Konde" <[EMAIL PROTECTED]> wrote in message news:52033@palm-dev-forum... > Is there any other way of handling events rather than using the > > Switch(event->eType) [snip] type of method. > > I mean can I do something like onFormLo

Managing events

2001-06-06 Thread Kapil Konde
Hi All, Is there any other way of handling events rather than using the Switch(event->eType) { . . . } type of method. I mean can I do something like onFormLoadEvent(formName, methodName) kind of event handling for forl load event and so.. Regards, Kap

RE: Event handler

2001-05-30 Thread Kapil Konde
works extremely well. "Kapil Konde" <[EMAIL PROTECTED]> wrote in message news:50778@palm-dev-forum... > > Hi All, > Can I have a form's event handler as a function of my c++ class. I tried > putting it my app class and associating it to the form by > FrmSetEventHandler

RE: Problem with FrmDoDialog

2001-05-27 Thread Kapil Konde
Use FrmGotoForm instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rustam Valiev Sent: Monday, May 28, 2001 10:03 AM To: Palm Developer Forum Subject: Problem with FrmDoDialog Hello All, I have 2 question. first: When I use FrmDoDialog function,

Event handler

2001-05-27 Thread Kapil Konde
Hi All, Can I have a form's event handler as a function of my c++ class. I tried putting it my app class and associating it to the form by FrmSetEventHandler() function with same signature. But it does not compile. If anybody has tried it out then please tell me what other things do I need

Field question?

2001-05-23 Thread Kapil Konde
Hi All, I want to have a editable field in which I shhuold be able to type in characters as well as numbers. I am currently not being able to do this. If I set numeric property of field to true it does not allow chars and if I set it to false it does not allow numbers. If there is

Error while linking

2001-05-21 Thread Kapil Konde
Hi All, I am getting the following error while compiling my project. I am using Falch.net IDE for developement. I do not know why this error is coming and what I should do to prevent this error. Any suggestions will be appreciated. Linking... /prc-tools/H-i586-cygwin32/m68k-palmos/bin/ld:

RE: Serial Receive wait function error

2001-05-17 Thread Kapil Konde
or Palm Developer Support --- In [EMAIL PROTECTED], "Kapil Konde" <[EMAIL PROTECTED]> wrote: > Hi All, > I am creating an application for PalmOs3.5 in C++. I am opening the serial > port and then calling the SerReceiveWait function to wa

Serial Receive wait function error

2001-05-17 Thread Kapil Konde
Hi All, I am creating an application for PalmOs3.5 in C++. I am opening the serial port and then calling the SerReceiveWait function to wait for bytes arrive on serial port. When I debug the application the port is successfully opened but for SerReceiveWait function it gives me error Appli

Error While getting Table Bounds

2001-05-16 Thread Kapil Konde
Hi All, I am trying to get the bounds of the table in the form by using TblGetBounds(listTblPtr,rectTable ); But it gives the error that application has just wrote in the low memory. Can anybody please tell me why is it happening and how do I overcome it. Regards, Kapil.

Linker Error

2001-05-14 Thread Kapil Konde
Hi All, I am getting a linker error for some reason unknown to me. The error is as follows. Can anybody tell me what does this mean and how do I solve it. Linking... /prc-tools/H-i586-cygwin32/m68k-palmos/bin/ld: region datares is full (Debug/PalmTest section .data) collect2: ld

List Control

2001-04-26 Thread Kapil Konde
Hi All, I am new to palm programming. I am currently trying to use a list control in my application and dynamically fill the items in the list. I also want to handle events for this list such as highlighting the selected item in the list ans so on. If anybody can tell me how shhould I d