Re: v11.5 Tab Controls - Converted from 2004
Date: 08-02-10
From: "Walt Nelson" <walt_at_waltnelson.com>
David,
This particular list was populated using the "Default Values" property.
I have everything figured out now. The problem was an old declaration of the tab object as Longint, even though the values were not being set by an HList. 2004 was OK with that, but v11 is more strict. I changed the declaration to a Text Array, and all is well.
Thanks for your input.
Walt Nelson - Guam
David Dancy said:
>Tab controls can be populated from Lists as well as Text arrays
(that's how you get icons into the tab, or change the style of the
text label). A List is actually a hierarchical list once it's loaded
into a 4D program, and - you guessed it - the h-list is declared in 4D
as a C_LONGINT.
Do you have a List that corresponds to the titles of the tab control?
If so, and you want to manipulate it once it's running you'll have to
use h-list commands, not text array commands.
Sent from my BlackBerryÆ wireless device