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 =
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,
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
);
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
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
, 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
() 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
(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
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