Multiple lines field scroll bar problem

2003-09-13 Thread Boris Epshteyn
I have a stupid problem -- I can't make non-editable field show scroll bar. In my resource file I have a field defined as: FIELD ID fldText AT (2 15 152 108) MAXCHARS 7001 NONEDITABLE HASSCROLLBAR MULTIPLELINES When initializing the field the following code is used: MemHandle handle =

Re: Multiple lines field scroll bar problem

2003-09-13 Thread Boris Epshteyn
Ups, I have not realized that I have to add scroll bar and update it myself. The whole point of exercise is to display static text, something like about or disclaimer. What is the best solution here? Field or some other control? Thanks a lot Boris, Saturday, September 13, 2003, 4:43:42 PM,

Show/Hide Scroll Bar problem

2003-08-29 Thread Boris Epshteyn
I have a relatively simple table where all cell are custom drawn. Sometimes the number of records to display is minimal -- so no need for ScrollBar. Therefore, in resource editor, I set Usable for scroll bar to false. When my init procedure detects that there are more records that table can

Re[2]: Error while deallocating memory

2003-08-14 Thread Boris Epshteyn
); SK } SK Boris Epshteyn [EMAIL PROTECTED] wrote in message SK news:[EMAIL PROTECTED] Hi, I have an interesting problem. I am allocating an array of strings. This array is filled from the database and then used for populating pop-up list. When program is ran, list pops up fine, item gets

Error while deallocating memory

2003-08-14 Thread Boris Epshteyn
Hi, I have an interesting problem. I am allocating an array of strings. This array is filled from the database and then used for populating pop-up list. When program is ran, list pops up fine, item gets selected, but when I tap on the trigger again I get: just read from the ... which is the

Re[2]: DB create/write problem

2003-08-06 Thread Boris Epshteyn
, not the length of your string. TD Thomas TD Boris Epshteyn [EMAIL PROTECTED] schrieb im Newsbeitrag TD news:[EMAIL PROTECTED] Hi, I am trying to create a DB from the static data. In my AppStart, if DB does not exists, I create it with four records. The records is defined as following: typedef struct

Re[2]: DB create/write problem

2003-08-05 Thread Boris Epshteyn
() works TD err = DmWrite(p, 0, (air.airlineID), sizeof(air.airlineID)); TD // The Name; here it does not. TD err = DmWrite(p, sizeof(air.airlineID), air.airlineName, TD StrLen(air.airlineName)+1); TD Hope this helps, TD Thomas TD Boris Epshteyn [EMAIL PROTECTED] schrieb im Newsbeitrag TD news:[EMAIL

Re[2]: DB create/write problem

2003-08-05 Thread Boris Epshteyn
(air.airlineID), air.airlineName, TD StrLen(air.airlineName)+1); TD Hope this helps, TD Thomas TD Boris Epshteyn [EMAIL PROTECTED] schrieb im Newsbeitrag TD news:[EMAIL PROTECTED] Unfortunately this does not work. :( I've tried to write the record with one DmWrite, without any success: err

DB create/write problem

2003-08-05 Thread Boris Epshteyn
Hi, I am trying to create a DB from the static data. In my AppStart, if DB does not exists, I create it with four records. The records is defined as following: typedef struct Airline { UInt16 airlineID; char *airlineName; } Airline; Since my airlineName is variable length, I